 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690742  bytes 164122423 (156.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 408117  bytes 67120310 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408117  bytes 67120310 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a4250>: 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 0x758a4250>: 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 0x758a4250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690746  bytes 164123060 (156.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 408141  bytes 67123644 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408141  bytes 67123644 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758cf1b0>: 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 0x758cf1b0>: 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 0x758cf1b0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690753  bytes 164123955 (156.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 408155  bytes 67125540 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408155  bytes 67125540 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c8270>: 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 0x758c8270>: 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 0x758c8270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690757  bytes 164124592 (156.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 408173  bytes 67127996 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408173  bytes 67127996 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585e230>: 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 0x7585e230>: 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 0x7585e230>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690764  bytes 164125487 (156.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 408187  bytes 67129892 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408187  bytes 67129892 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589f1b0>: 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 0x7589f1b0>: 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 0x7589f1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690768  bytes 164126124 (156.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 408205  bytes 67132348 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408205  bytes 67132348 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758341b0>: 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 0x758341b0>: 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 0x758341b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690775  bytes 164127019 (156.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 408219  bytes 67134244 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408219  bytes 67134244 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758650f0>: 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 0x758650f0>: 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 0x758650f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690779  bytes 164127656 (156.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 408245  bytes 67137848 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408245  bytes 67137848 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f9170>: 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 0x757f9170>: 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 0x757f9170>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690786  bytes 164128551 (156.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 408267  bytes 67140868 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408267  bytes 67140868 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585f170>: 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 0x7585f170>: 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 0x7585f170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690789  bytes 164128809 (156.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 408293  bytes 67144488 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408293  bytes 67144488 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a0210>: 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 0x758a0210>: 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 0x758a0210>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690796  bytes 164129704 (156.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 408305  bytes 67146104 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408305  bytes 67146104 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ce1d0>: 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 0x758ce1d0>: 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 0x758ce1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690803  bytes 164130599 (156.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 408331  bytes 67149724 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408331  bytes 67149724 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75813250>: 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 0x75813250>: 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 0x75813250>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690807  bytes 164131236 (156.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 408349  bytes 67152180 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408349  bytes 67152180 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584f210>: 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 0x7584f210>: 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 0x7584f210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690814  bytes 164132131 (156.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 408363  bytes 67154076 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408363  bytes 67154076 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75869250>: 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 0x75869250>: 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 0x75869250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690818  bytes 164132768 (156.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 408381  bytes 67156532 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408381  bytes 67156532 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ce210>: 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 0x758ce210>: 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 0x758ce210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690825  bytes 164133663 (156.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 408395  bytes 67158428 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408395  bytes 67158428 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587d210>: 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 0x7587d210>: 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 0x7587d210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690829  bytes 164134300 (156.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 408413  bytes 67160884 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408413  bytes 67160884 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585a1d0>: 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 0x7585a1d0>: 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 0x7585a1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690836  bytes 164135195 (156.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 408433  bytes 67163636 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408433  bytes 67163636 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c11f0>: 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 0x758c11f0>: 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 0x758c11f0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690842  bytes 164136004 (156.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 408457  bytes 67166936 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408457  bytes 67166936 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758111f0>: 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 0x758111f0>: 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 0x758111f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690847  bytes 164136727 (156.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 408485  bytes 67170848 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408485  bytes 67170848 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b91d0>: 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 0x758b91d0>: 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 0x758b91d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690854  bytes 164137622 (156.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 408497  bytes 67172464 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408497  bytes 67172464 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758201b0>: 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 0x758201b0>: 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 0x758201b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690858  bytes 164138259 (156.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 408525  bytes 67176364 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408525  bytes 67176364 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758af1d0>: 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 0x758af1d0>: 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 0x758af1d0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690865  bytes 164139154 (156.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 408539  bytes 67178260 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408539  bytes 67178260 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587a1f0>: 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 0x7587a1f0>: 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 0x7587a1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690870  bytes 164139969 (156.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 408557  bytes 67180716 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408557  bytes 67180716 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75f270b0>: 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 0x75f270b0>: 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 0x75f270b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690877  bytes 164140864 (156.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 408569  bytes 67182332 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408569  bytes 67182332 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75820290>: 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 0x75820290>: 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 0x75820290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690883  bytes 164141380 (156.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 408587  bytes 67184788 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408587  bytes 67184788 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c9250>: 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 0x758c9250>: 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 0x758c9250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690887  bytes 164142017 (156.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 408605  bytes 67187244 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408605  bytes 67187244 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75839210>: 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 0x75839210>: 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 0x75839210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690894  bytes 164142912 (156.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 408619  bytes 67189140 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408619  bytes 67189140 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758141f0>: 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 0x758141f0>: 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 0x758141f0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690899  bytes 164143635 (156.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 408645  bytes 67192744 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408645  bytes 67192744 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d0210>: 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 0x758d0210>: 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 0x758d0210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690906  bytes 164144530 (156.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 408673  bytes 67196616 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408673  bytes 67196616 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758cb1b0>: 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 0x758cb1b0>: 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 0x758cb1b0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690912  bytes 164145339 (156.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 408689  bytes 67198824 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408689  bytes 67198824 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fe250>: 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 0x757fe250>: 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 0x757fe250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690918  bytes 164146148 (156.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 408713  bytes 67202132 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408713  bytes 67202132 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f0190>: 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 0x757f0190>: 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 0x757f0190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690923  bytes 164146871 (156.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 408733  bytes 67204900 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408733  bytes 67204900 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75a346f0>: 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 0x75a346f0>: 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 0x75a346f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690930  bytes 164147766 (156.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 408747  bytes 67206796 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408747  bytes 67206796 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d1210>: 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 0x758d1210>: 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 0x758d1210>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690936  bytes 164148575 (156.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 408767  bytes 67209522 (64.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408767  bytes 67209522 (64.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758571d0>: 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 0x758571d0>: 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 0x758571d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690943  bytes 164149470 (156.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 408809  bytes 67215268 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408809  bytes 67215268 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fc230>: 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 0x757fc230>: 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 0x757fc230>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690948  bytes 164150193 (156.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 408829  bytes 67218004 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408829  bytes 67218004 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75805230>: 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 0x75805230>: 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 0x75805230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690955  bytes 164151088 (156.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 408843  bytes 67219900 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408843  bytes 67219900 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583f230>: 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 0x7583f230>: 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 0x7583f230>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690959  bytes 164151725 (156.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 408869  bytes 67223504 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408869  bytes 67223504 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a91f0>: 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 0x758a91f0>: 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 0x758a91f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690966  bytes 164152620 (156.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 408891  bytes 67226524 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408891  bytes 67226524 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d2190>: 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 0x758d2190>: 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 0x758d2190>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690970  bytes 164153257 (156.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 408917  bytes 67230144 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408917  bytes 67230144 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758bc190>: 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 0x758bc190>: 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 0x758bc190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690976  bytes 164153773 (156.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 408931  bytes 67232040 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408931  bytes 67232040 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758511f0>: 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 0x758511f0>: 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 0x758511f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690980  bytes 164154410 (156.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 408957  bytes 67235660 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408957  bytes 67235660 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ab1d0>: 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 0x758ab1d0>: 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 0x758ab1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690987  bytes 164155305 (156.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 408971  bytes 67237556 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408971  bytes 67237556 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75833070>: 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 0x75833070>: 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 0x75833070>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690991  bytes 164155942 (156.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 408989  bytes 67240012 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 408989  bytes 67240012 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ea210>: 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 0x757ea210>: 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 0x757ea210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 690998  bytes 164156837 (156.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 409003  bytes 67241908 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409003  bytes 67241908 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7581b210>: 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 0x7581b210>: 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 0x7581b210>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691002  bytes 164157474 (156.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 409021  bytes 67244364 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409021  bytes 67244364 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c92f0>: 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 0x758c92f0>: 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 0x758c92f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691009  bytes 164158369 (156.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 409035  bytes 67246260 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409035  bytes 67246260 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583d170>: 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 0x7583d170>: 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 0x7583d170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691013  bytes 164159006 (156.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 409061  bytes 67249864 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409061  bytes 67249864 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75810250>: 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 0x75810250>: 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 0x75810250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691020  bytes 164159901 (156.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 409075  bytes 67251760 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409075  bytes 67251760 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c4250>: 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 0x758c4250>: 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 0x758c4250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691027  bytes 164160796 (156.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 409105  bytes 67255912 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409105  bytes 67255912 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582b1b0>: 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 0x7582b1b0>: 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 0x7582b1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691031  bytes 164161433 (156.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 409125  bytes 67258680 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409125  bytes 67258680 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589c210>: 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 0x7589c210>: 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 0x7589c210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691038  bytes 164162328 (156.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 409147  bytes 67261740 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409147  bytes 67261740 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758891d0>: 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 0x758891d0>: 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 0x758891d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691042  bytes 164162965 (156.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 409165  bytes 67264196 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409165  bytes 67264196 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758171d0>: 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 0x758171d0>: 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 0x758171d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691049  bytes 164163860 (156.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 409179  bytes 67266092 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409179  bytes 67266092 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583a2d0>: 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 0x7583a2d0>: 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 0x7583a2d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691053  bytes 164164497 (156.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 409197  bytes 67268548 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409197  bytes 67268548 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75834250>: 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 0x75834250>: 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 0x75834250>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691060  bytes 164165392 (156.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 409211  bytes 67270444 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409211  bytes 67270444 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585b190>: 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 0x7585b190>: 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 0x7585b190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691064  bytes 164166029 (156.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 409229  bytes 67272900 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409229  bytes 67272900 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ff270>: 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 0x757ff270>: 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 0x757ff270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691071  bytes 164166924 (156.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 409243  bytes 67274796 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409243  bytes 67274796 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75883230>: 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 0x75883230>: 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 0x75883230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691075  bytes 164167268 (156.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 409269  bytes 67278400 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409269  bytes 67278400 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ca1b0>: 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 0x758ca1b0>: 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 0x758ca1b0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691082  bytes 164168163 (156.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 409297  bytes 67282272 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409297  bytes 67282272 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757df250>: 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 0x757df250>: 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 0x757df250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691088  bytes 164168972 (156.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 409313  bytes 67284480 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409313  bytes 67284480 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588a170>: 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 0x7588a170>: 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 0x7588a170>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691094  bytes 164169781 (156.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 409337  bytes 67287788 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409337  bytes 67287788 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588a270>: 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 0x7588a270>: 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 0x7588a270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691099  bytes 164170504 (156.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 409357  bytes 67290556 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409357  bytes 67290556 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c4270>: 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 0x758c4270>: 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 0x758c4270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691106  bytes 164171399 (156.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 409371  bytes 67292452 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409371  bytes 67292452 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75851210>: 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 0x75851210>: 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 0x75851210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691110  bytes 164172036 (156.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 409389  bytes 67294908 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409389  bytes 67294908 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582a1b0>: 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 0x7582a1b0>: 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 0x7582a1b0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691117  bytes 164172931 (156.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 409403  bytes 67296804 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409403  bytes 67296804 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758021d0>: 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 0x758021d0>: 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 0x758021d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691121  bytes 164173568 (156.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 409421  bytes 67299260 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409421  bytes 67299260 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75831210>: 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 0x75831210>: 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 0x75831210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691128  bytes 164174463 (156.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 409435  bytes 67301156 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409435  bytes 67301156 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75801210>: 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 0x75801210>: 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 0x75801210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691132  bytes 164175100 (156.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 409461  bytes 67304760 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409461  bytes 67304760 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588a1f0>: 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 0x7588a1f0>: 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 0x7588a1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691139  bytes 164175995 (156.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 409495  bytes 67309420 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409495  bytes 67309420 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e7210>: 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 0x757e7210>: 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 0x757e7210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691143  bytes 164176632 (156.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 409541  bytes 67315800 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409541  bytes 67315800 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758cf270>: 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 0x758cf270>: 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 0x758cf270>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691150  bytes 164177527 (156.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 409555  bytes 67317696 (64.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409555  bytes 67317696 (64.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585b110>: 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 0x7585b110>: 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 0x7585b110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691154  bytes 164178164 (156.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 409581  bytes 67321316 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409581  bytes 67321316 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75807190>: 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 0x75807190>: 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 0x75807190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691161  bytes 164179059 (156.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 409595  bytes 67323212 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409595  bytes 67323212 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585f250>: 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 0x7585f250>: 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 0x7585f250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691164  bytes 164179317 (156.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 409613  bytes 67325668 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409613  bytes 67325668 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75831250>: 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 0x75831250>: 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 0x75831250>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691171  bytes 164180212 (156.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 409627  bytes 67327564 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409627  bytes 67327564 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589d1f0>: 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 0x7589d1f0>: 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 0x7589d1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691175  bytes 164180849 (156.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 409645  bytes 67330020 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409645  bytes 67330020 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758aa1d0>: 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 0x758aa1d0>: 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 0x758aa1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691182  bytes 164181744 (156.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 409659  bytes 67331916 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409659  bytes 67331916 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fc250>: 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 0x757fc250>: 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 0x757fc250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691186  bytes 164182381 (156.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 409685  bytes 67335520 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409685  bytes 67335520 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758861d0>: 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 0x758861d0>: 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 0x758861d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691193  bytes 164183276 (156.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 409699  bytes 67337416 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409699  bytes 67337416 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75862190>: 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 0x75862190>: 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 0x75862190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691200  bytes 164184171 (156.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 409729  bytes 67341568 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409729  bytes 67341568 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ec170>: 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 0x757ec170>: 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 0x757ec170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691204  bytes 164184808 (156.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 409749  bytes 67344336 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409749  bytes 67344336 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ab270>: 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 0x758ab270>: 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 0x758ab270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691211  bytes 164185703 (156.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 409771  bytes 67347396 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409771  bytes 67347396 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e1290>: 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 0x757e1290>: 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 0x757e1290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691215  bytes 164186340 (156.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 409789  bytes 67349852 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409789  bytes 67349852 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e61f0>: 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 0x757e61f0>: 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 0x757e61f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691222  bytes 164187235 (156.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 409803  bytes 67351748 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409803  bytes 67351748 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75898230>: 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 0x75898230>: 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 0x75898230>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691226  bytes 164187872 (156.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 409821  bytes 67354204 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409821  bytes 67354204 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585b2d0>: 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 0x7585b2d0>: 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 0x7585b2d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691233  bytes 164188767 (156.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 409835  bytes 67356100 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409835  bytes 67356100 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589b1d0>: 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 0x7589b1d0>: 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 0x7589b1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691237  bytes 164189404 (156.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 409853  bytes 67358556 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409853  bytes 67358556 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a21f0>: 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 0x758a21f0>: 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 0x758a21f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691245  bytes 164190477 (156.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 409867  bytes 67360452 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409867  bytes 67360452 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b5250>: 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 0x758b5250>: 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 0x758b5250>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691250  bytes 164191200 (156.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 409893  bytes 67364056 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409893  bytes 67364056 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758971f0>: 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 0x758971f0>: 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 0x758971f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691256  bytes 164191716 (156.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 409921  bytes 67367928 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409921  bytes 67367928 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f51f0>: 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 0x757f51f0>: 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 0x757f51f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691262  bytes 164192525 (156.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 409937  bytes 67370136 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409937  bytes 67370136 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758041f0>: 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 0x758041f0>: 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 0x758041f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691268  bytes 164193334 (156.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 409961  bytes 67373444 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409961  bytes 67373444 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75877250>: 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 0x75877250>: 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 0x75877250>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691273  bytes 164194057 (156.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 409981  bytes 67376212 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409981  bytes 67376212 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e21f0>: 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 0x757e21f0>: 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 0x757e21f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691280  bytes 164194952 (156.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 409995  bytes 67378108 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 409995  bytes 67378108 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c32b0>: 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 0x758c32b0>: 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 0x758c32b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691284  bytes 164195589 (156.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 410013  bytes 67380564 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410013  bytes 67380564 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75876270>: 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 0x75876270>: 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 0x75876270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691291  bytes 164196484 (156.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 410027  bytes 67382460 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410027  bytes 67382460 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7662cfd0>: 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 0x7662cfd0>: 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 0x7662cfd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691295  bytes 164197121 (156.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 410045  bytes 67384916 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410045  bytes 67384916 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7580d1f0>: 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 0x7580d1f0>: 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 0x7580d1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691302  bytes 164198016 (156.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 410059  bytes 67386812 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410059  bytes 67386812 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75849170>: 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 0x75849170>: 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 0x75849170>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691306  bytes 164198653 (156.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 410085  bytes 67390416 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410085  bytes 67390416 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582b210>: 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 0x7582b210>: 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 0x7582b210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691313  bytes 164199548 (156.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 410107  bytes 67393436 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410107  bytes 67393436 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758311b0>: 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 0x758311b0>: 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 0x758311b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691317  bytes 164200185 (156.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 410133  bytes 67397056 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410133  bytes 67397056 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7586f1d0>: 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 0x7586f1d0>: 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 0x7586f1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691324  bytes 164201080 (156.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 410147  bytes 67398952 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410147  bytes 67398952 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x759f38f0>: 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 0x759f38f0>: 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 0x759f38f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691328  bytes 164201717 (156.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 410173  bytes 67402572 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410173  bytes 67402572 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7665e370>: 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 0x7665e370>: 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 0x7665e370>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691335  bytes 164202612 (156.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 410187  bytes 67404468 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410187  bytes 67404468 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758761b0>: 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 0x758761b0>: 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 0x758761b0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691342  bytes 164203507 (156.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 410231  bytes 67410494 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410231  bytes 67410494 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b3170>: 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 0x758b3170>: 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 0x758b3170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691345  bytes 164203765 (156.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 410253  bytes 67413500 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410253  bytes 67413500 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c0270>: 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 0x758c0270>: 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 0x758c0270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691352  bytes 164204660 (156.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 410267  bytes 67415396 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410267  bytes 67415396 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75843270>: 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 0x75843270>: 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 0x75843270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691356  bytes 164205297 (156.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 410285  bytes 67417852 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410285  bytes 67417852 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584f270>: 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 0x7584f270>: 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 0x7584f270>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691363  bytes 164206192 (156.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 410303  bytes 67420312 (64.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410303  bytes 67420312 (64.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582a230>: 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 0x7582a230>: 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 0x7582a230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691370  bytes 164207087 (156.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 410327  bytes 67423628 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410327  bytes 67423628 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d4210>: 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 0x758d4210>: 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 0x758d4210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691376  bytes 164207896 (156.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 410355  bytes 67427520 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410355  bytes 67427520 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75872190>: 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 0x75872190>: 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 0x75872190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691381  bytes 164208619 (156.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 410373  bytes 67429992 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410373  bytes 67429992 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75862270>: 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 0x75862270>: 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 0x75862270>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691388  bytes 164209514 (156.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 410395  bytes 67433052 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410395  bytes 67433052 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758361f0>: 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 0x758361f0>: 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 0x758361f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691392  bytes 164210151 (156.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 410413  bytes 67435508 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410413  bytes 67435508 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75851210>: 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 0x75851210>: 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 0x75851210>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691399  bytes 164211046 (156.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 410427  bytes 67437404 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410427  bytes 67437404 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75877230>: 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 0x75877230>: 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 0x75877230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691403  bytes 164211683 (156.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 410445  bytes 67439860 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410445  bytes 67439860 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b2170>: 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 0x758b2170>: 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 0x758b2170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691410  bytes 164212578 (156.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 410459  bytes 67441756 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410459  bytes 67441756 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587b170>: 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 0x7587b170>: 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 0x7587b170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691414  bytes 164213215 (156.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 410477  bytes 67444212 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410477  bytes 67444212 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758432b0>: 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 0x758432b0>: 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 0x758432b0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691421  bytes 164214110 (156.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 410491  bytes 67446108 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410491  bytes 67446108 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75896230>: 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 0x75896230>: 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 0x75896230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691426  bytes 164214833 (156.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 410517  bytes 67449712 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410517  bytes 67449712 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75837270>: 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 0x75837270>: 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 0x75837270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691433  bytes 164215728 (156.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 410545  bytes 67453584 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410545  bytes 67453584 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7581b230>: 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 0x7581b230>: 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 0x7581b230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691438  bytes 164216158 (156.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 410561  bytes 67455792 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410561  bytes 67455792 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758931d0>: 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 0x758931d0>: 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 0x758931d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691445  bytes 164217053 (156.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 410583  bytes 67458814 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410583  bytes 67458814 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c5230>: 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 0x758c5230>: 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 0x758c5230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691449  bytes 164217690 (156.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 410605  bytes 67461868 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410605  bytes 67461868 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75823250>: 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 0x75823250>: 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 0x75823250>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691456  bytes 164218585 (156.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 410619  bytes 67463764 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410619  bytes 67463764 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75884150>: 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 0x75884150>: 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 0x75884150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691460  bytes 164219222 (156.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 410637  bytes 67466220 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410637  bytes 67466220 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584a1d0>: 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 0x7584a1d0>: 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 0x7584a1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691467  bytes 164220117 (156.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 410651  bytes 67468116 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410651  bytes 67468116 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582f1b0>: 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 0x7582f1b0>: 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 0x7582f1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691471  bytes 164220754 (156.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 410669  bytes 67470572 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410669  bytes 67470572 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f4210>: 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 0x757f4210>: 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 0x757f4210>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691478  bytes 164221649 (156.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 410681  bytes 67472188 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410681  bytes 67472188 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75855170>: 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 0x75855170>: 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 0x75855170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691485  bytes 164222544 (156.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 410707  bytes 67475792 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410707  bytes 67475792 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75810230>: 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 0x75810230>: 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 0x75810230>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691489  bytes 164223181 (156.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 410733  bytes 67479372 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410733  bytes 67479372 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758361f0>: 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 0x758361f0>: 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 0x758361f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691496  bytes 164224076 (156.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 410755  bytes 67482432 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410755  bytes 67482432 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75858270>: 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 0x75858270>: 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 0x75858270>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691501  bytes 164224799 (156.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 410773  bytes 67484888 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410773  bytes 67484888 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75f0b0f0>: 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 0x75f0b0f0>: 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 0x75f0b0f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691507  bytes 164225608 (156.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 410797  bytes 67488228 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410797  bytes 67488228 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ad1f0>: 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 0x758ad1f0>: 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 0x758ad1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691514  bytes 164226503 (156.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 410811  bytes 67490124 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410811  bytes 67490124 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757d61f0>: 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 0x757d61f0>: 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 0x757d61f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691518  bytes 164227140 (156.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 410829  bytes 67492580 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410829  bytes 67492580 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758111f0>: 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 0x758111f0>: 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 0x758111f0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691524  bytes 164227656 (156.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 410843  bytes 67494476 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410843  bytes 67494476 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f11f0>: 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 0x757f11f0>: 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 0x757f11f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691528  bytes 164228293 (156.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 410861  bytes 67496932 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410861  bytes 67496932 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758611b0>: 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 0x758611b0>: 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 0x758611b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691535  bytes 164229188 (156.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 410875  bytes 67498828 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410875  bytes 67498828 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75848210>: 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 0x75848210>: 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 0x75848210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691541  bytes 164229997 (156.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 410917  bytes 67504632 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410917  bytes 67504632 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75838210>: 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 0x75838210>: 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 0x75838210>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691548  bytes 164230892 (156.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 410955  bytes 67509846 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410955  bytes 67509846 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x759b16b0>: 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 0x759b16b0>: 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 0x759b16b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691553  bytes 164231615 (156.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 410981  bytes 67513472 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410981  bytes 67513472 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75810270>: 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 0x75810270>: 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 0x75810270>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691560  bytes 164232510 (156.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 410995  bytes 67515368 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 410995  bytes 67515368 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75882270>: 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 0x75882270>: 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 0x75882270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691564  bytes 164233147 (156.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 411021  bytes 67518988 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411021  bytes 67518988 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75fba9f0>: 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 0x75fba9f0>: 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 0x75fba9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691571  bytes 164234042 (156.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 411035  bytes 67520884 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411035  bytes 67520884 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75873230>: 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 0x75873230>: 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 0x75873230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691575  bytes 164234679 (156.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 411053  bytes 67523340 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411053  bytes 67523340 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758411f0>: 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 0x758411f0>: 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 0x758411f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691582  bytes 164235574 (156.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 411067  bytes 67525236 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411067  bytes 67525236 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ea210>: 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 0x757ea210>: 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 0x757ea210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691586  bytes 164236211 (156.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 411085  bytes 67527692 (64.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411085  bytes 67527692 (64.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75890250>: 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 0x75890250>: 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 0x75890250>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691593  bytes 164237106 (156.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 411099  bytes 67529588 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411099  bytes 67529588 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582a210>: 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 0x7582a210>: 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 0x7582a210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691599  bytes 164237915 (156.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 411117  bytes 67532044 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411117  bytes 67532044 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75868270>: 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 0x75868270>: 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 0x75868270>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691605  bytes 164238724 (156.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 411141  bytes 67535368 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411141  bytes 67535368 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757eb1d0>: 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 0x757eb1d0>: 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 0x757eb1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691612  bytes 164239619 (156.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 411169  bytes 67539240 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411169  bytes 67539240 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b51d0>: 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 0x758b51d0>: 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 0x758b51d0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691619  bytes 164240606 (156.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 411185  bytes 67541448 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411185  bytes 67541448 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ed190>: 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 0x757ed190>: 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 0x757ed190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691625  bytes 164241415 (156.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 411209  bytes 67544756 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411209  bytes 67544756 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758501f0>: 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 0x758501f0>: 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 0x758501f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691629  bytes 164241759 (156.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 411229  bytes 67547524 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411229  bytes 67547524 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588f1d0>: 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 0x7588f1d0>: 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 0x7588f1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691636  bytes 164242654 (156.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 411243  bytes 67549420 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411243  bytes 67549420 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f62d0>: 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 0x757f62d0>: 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 0x757f62d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691640  bytes 164243291 (156.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 411261  bytes 67551876 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411261  bytes 67551876 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757d9210>: 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 0x757d9210>: 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 0x757d9210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691647  bytes 164244186 (156.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 411275  bytes 67553772 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411275  bytes 67553772 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758861b0>: 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 0x758861b0>: 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 0x758861b0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691651  bytes 164244823 (156.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 411293  bytes 67556228 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411293  bytes 67556228 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758441f0>: 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 0x758441f0>: 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 0x758441f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691658  bytes 164245718 (156.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 411307  bytes 67558124 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411307  bytes 67558124 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a7210>: 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 0x758a7210>: 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 0x758a7210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691662  bytes 164246355 (156.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 411333  bytes 67561728 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411333  bytes 67561728 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75828210>: 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 0x75828210>: 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 0x75828210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691669  bytes 164247250 (156.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 411355  bytes 67564748 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411355  bytes 67564748 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758af250>: 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 0x758af250>: 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 0x758af250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691673  bytes 164247887 (156.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 411381  bytes 67568368 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411381  bytes 67568368 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758241d0>: 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 0x758241d0>: 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 0x758241d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691680  bytes 164248782 (156.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 411395  bytes 67570264 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411395  bytes 67570264 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c3170>: 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 0x758c3170>: 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 0x758c3170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691684  bytes 164249419 (156.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 411421  bytes 67573884 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411421  bytes 67573884 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585f210>: 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 0x7585f210>: 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 0x7585f210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691691  bytes 164250314 (156.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 411435  bytes 67575780 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411435  bytes 67575780 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758912d0>: 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 0x758912d0>: 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 0x758912d0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691695  bytes 164250951 (156.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 411453  bytes 67578236 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411453  bytes 67578236 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584a1b0>: 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 0x7584a1b0>: 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 0x7584a1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691702  bytes 164251846 (156.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 411467  bytes 67580132 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411467  bytes 67580132 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75858190>: 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 0x75858190>: 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 0x75858190>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691706  bytes 164252483 (156.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 411485  bytes 67582588 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411485  bytes 67582588 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75878190>: 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 0x75878190>: 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 0x75878190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691712  bytes 164252999 (156.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 411499  bytes 67584484 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411499  bytes 67584484 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ff270>: 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 0x757ff270>: 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 0x757ff270>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691716  bytes 164253636 (156.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 411525  bytes 67588088 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411525  bytes 67588088 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758021d0>: 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 0x758021d0>: 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 0x758021d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691723  bytes 164254531 (156.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 411539  bytes 67589984 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411539  bytes 67589984 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588c250>: 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 0x7588c250>: 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 0x7588c250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691730  bytes 164255426 (156.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 411569  bytes 67594136 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411569  bytes 67594136 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75825190>: 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 0x75825190>: 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 0x75825190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691734  bytes 164256063 (156.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 411589  bytes 67596904 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411589  bytes 67596904 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ff230>: 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 0x757ff230>: 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 0x757ff230>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691741  bytes 164256958 (156.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 411613  bytes 67600234 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411613  bytes 67600234 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75f9a090>: 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 0x75f9a090>: 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 0x75f9a090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691747  bytes 164257767 (156.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 411657  bytes 67606260 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411657  bytes 67606260 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ae270>: 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 0x758ae270>: 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 0x758ae270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691752  bytes 164258490 (156.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 411677  bytes 67608996 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411677  bytes 67608996 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758261f0>: 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 0x758261f0>: 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 0x758261f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691759  bytes 164259385 (156.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 411689  bytes 67610612 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411689  bytes 67610612 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a61b0>: 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 0x758a61b0>: 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 0x758a61b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691763  bytes 164260022 (156.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 411709  bytes 67613348 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411709  bytes 67613348 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7586e170>: 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 0x7586e170>: 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 0x7586e170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691770  bytes 164260917 (156.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 411723  bytes 67615244 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411723  bytes 67615244 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758af230>: 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 0x758af230>: 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 0x758af230>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691776  bytes 164261726 (156.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 411741  bytes 67617700 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411741  bytes 67617700 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fd1b0>: 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 0x757fd1b0>: 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 0x757fd1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691782  bytes 164262535 (156.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 411765  bytes 67621024 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411765  bytes 67621024 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7580a1b0>: 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 0x7580a1b0>: 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 0x7580a1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691789  bytes 164263430 (156.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 411793  bytes 67624896 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411793  bytes 67624896 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587a1f0>: 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 0x7587a1f0>: 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 0x7587a1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691795  bytes 164264239 (156.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 411809  bytes 67627104 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411809  bytes 67627104 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75809270>: 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 0x75809270>: 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 0x75809270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691802  bytes 164265134 (156.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 411831  bytes 67630132 (64.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411831  bytes 67630132 (64.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c6230>: 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 0x758c6230>: 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 0x758c6230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691805  bytes 164265392 (156.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 411853  bytes 67633180 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411853  bytes 67633180 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fb1d0>: 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 0x757fb1d0>: 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 0x757fb1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691812  bytes 164266287 (156.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 411867  bytes 67635076 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411867  bytes 67635076 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758101b0>: 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 0x758101b0>: 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 0x758101b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691816  bytes 164266924 (156.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 411885  bytes 67637532 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411885  bytes 67637532 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758241d0>: 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 0x758241d0>: 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 0x758241d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691823  bytes 164267819 (156.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 411899  bytes 67639428 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411899  bytes 67639428 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758931d0>: 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 0x758931d0>: 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 0x758931d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691827  bytes 164268456 (156.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 411917  bytes 67641884 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411917  bytes 67641884 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75f271f0>: 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 0x75f271f0>: 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 0x75f271f0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691834  bytes 164269351 (156.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 411931  bytes 67643780 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411931  bytes 67643780 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757da210>: 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 0x757da210>: 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 0x757da210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691838  bytes 164269988 (156.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 411957  bytes 67647384 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411957  bytes 67647384 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75868230>: 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 0x75868230>: 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 0x75868230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691845  bytes 164270883 (156.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 411979  bytes 67650404 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 411979  bytes 67650404 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c82d0>: 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 0x758c82d0>: 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 0x758c82d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691849  bytes 164271520 (156.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 412005  bytes 67654024 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412005  bytes 67654024 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758bf210>: 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 0x758bf210>: 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 0x758bf210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691856  bytes 164272415 (156.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 412019  bytes 67655920 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412019  bytes 67655920 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585b190>: 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 0x7585b190>: 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 0x7585b190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691860  bytes 164273052 (156.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 412045  bytes 67659540 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412045  bytes 67659540 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75a577f0>: 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 0x75a577f0>: 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 0x75a577f0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691867  bytes 164273947 (156.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 412059  bytes 67661436 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412059  bytes 67661436 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7586b1f0>: 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 0x7586b1f0>: 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 0x7586b1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691871  bytes 164274584 (156.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 412077  bytes 67663892 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412077  bytes 67663892 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758bc270>: 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 0x758bc270>: 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 0x758bc270>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691878  bytes 164275479 (156.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 412091  bytes 67665788 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412091  bytes 67665788 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ff230>: 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 0x757ff230>: 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 0x757ff230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691882  bytes 164276116 (156.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 412109  bytes 67668244 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412109  bytes 67668244 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584b210>: 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 0x7584b210>: 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 0x7584b210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691889  bytes 164277011 (156.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 412123  bytes 67670140 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412123  bytes 67670140 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757de270>: 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 0x757de270>: 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 0x757de270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691892  bytes 164277269 (156.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 412149  bytes 67673744 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412149  bytes 67673744 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ef1d0>: 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 0x757ef1d0>: 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 0x757ef1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691899  bytes 164278164 (156.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 412163  bytes 67675640 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412163  bytes 67675640 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75861170>: 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 0x75861170>: 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 0x75861170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691906  bytes 164279059 (156.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 412193  bytes 67679792 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412193  bytes 67679792 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758771d0>: 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 0x758771d0>: 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 0x758771d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691910  bytes 164279696 (156.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 412213  bytes 67682560 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412213  bytes 67682560 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b41f0>: 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 0x758b41f0>: 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 0x758b41f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691917  bytes 164280591 (156.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 412235  bytes 67685620 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412235  bytes 67685620 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75f8ba50>: 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 0x75f8ba50>: 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 0x75f8ba50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691921  bytes 164281228 (156.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 412253  bytes 67688076 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412253  bytes 67688076 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758551f0>: 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 0x758551f0>: 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 0x758551f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691928  bytes 164282123 (156.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 412267  bytes 67689972 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412267  bytes 67689972 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7586c290>: 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 0x7586c290>: 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 0x7586c290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691932  bytes 164282760 (156.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 412285  bytes 67692428 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412285  bytes 67692428 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589f270>: 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 0x7589f270>: 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 0x7589f270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691939  bytes 164283655 (156.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 412299  bytes 67694324 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412299  bytes 67694324 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fb1b0>: 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 0x757fb1b0>: 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 0x757fb1b0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691945  bytes 164284464 (156.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 412335  bytes 67699250 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412335  bytes 67699250 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75810290>: 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 0x75810290>: 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 0x75810290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691952  bytes 164285359 (156.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 412367  bytes 67703638 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412367  bytes 67703638 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75802210>: 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 0x75802210>: 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 0x75802210>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691958  bytes 164286168 (156.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 412389  bytes 67706680 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412389  bytes 67706680 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a7290>: 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 0x758a7290>: 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 0x758a7290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691965  bytes 164287063 (156.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 412417  bytes 67710552 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412417  bytes 67710552 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7581d210>: 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 0x7581d210>: 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 0x7581d210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691971  bytes 164287872 (156.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 412433  bytes 67712760 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412433  bytes 67712760 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758072f0>: 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 0x758072f0>: 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 0x758072f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691977  bytes 164288681 (156.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 412457  bytes 67716068 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412457  bytes 67716068 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e9270>: 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 0x757e9270>: 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 0x757e9270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691983  bytes 164289582 (156.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 412477  bytes 67718836 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412477  bytes 67718836 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ea210>: 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 0x757ea210>: 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 0x757ea210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691989  bytes 164290098 (156.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 412491  bytes 67720732 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412491  bytes 67720732 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758761f0>: 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 0x758761f0>: 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 0x758761f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 691993  bytes 164290735 (156.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 412509  bytes 67723188 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412509  bytes 67723188 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c5250>: 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 0x758c5250>: 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 0x758c5250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692000  bytes 164291630 (156.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 412523  bytes 67725084 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412523  bytes 67725084 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75859170>: 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 0x75859170>: 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 0x75859170>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692004  bytes 164292267 (156.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 412541  bytes 67727540 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412541  bytes 67727540 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585d290>: 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 0x7585d290>: 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 0x7585d290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692011  bytes 164293162 (156.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 412553  bytes 67729156 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412553  bytes 67729156 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c6230>: 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 0x758c6230>: 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 0x758c6230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692018  bytes 164294057 (156.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 412579  bytes 67732760 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412579  bytes 67732760 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758891d0>: 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 0x758891d0>: 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 0x758891d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692022  bytes 164294694 (156.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 412605  bytes 67736340 (64.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412605  bytes 67736340 (64.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7586f1d0>: 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 0x7586f1d0>: 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 0x7586f1d0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692029  bytes 164295589 (156.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 412627  bytes 67739400 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412627  bytes 67739400 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75894210>: 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 0x75894210>: 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 0x75894210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692034  bytes 164296312 (156.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 412645  bytes 67741856 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412645  bytes 67741856 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ee270>: 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 0x757ee270>: 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 0x757ee270>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692040  bytes 164297121 (156.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 412669  bytes 67745196 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412669  bytes 67745196 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758451d0>: 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 0x758451d0>: 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 0x758451d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692047  bytes 164298016 (156.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 412683  bytes 67747092 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412683  bytes 67747092 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b7250>: 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 0x758b7250>: 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 0x758b7250>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692051  bytes 164298653 (156.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 412701  bytes 67749548 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412701  bytes 67749548 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75872230>: 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 0x75872230>: 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 0x75872230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692058  bytes 164299548 (156.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 412715  bytes 67751444 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412715  bytes 67751444 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75825190>: 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 0x75825190>: 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 0x75825190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692062  bytes 164300185 (156.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 412733  bytes 67753900 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412733  bytes 67753900 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e7210>: 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 0x757e7210>: 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 0x757e7210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692069  bytes 164301080 (156.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 412747  bytes 67755796 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412747  bytes 67755796 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7581d270>: 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 0x7581d270>: 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 0x7581d270>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692072  bytes 164301338 (156.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 412773  bytes 67759400 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412773  bytes 67759400 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589a2d0>: 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 0x7589a2d0>: 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 0x7589a2d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692079  bytes 164302233 (156.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 412787  bytes 67761296 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412787  bytes 67761296 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7581e1d0>: 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 0x7581e1d0>: 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 0x7581e1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692086  bytes 164303128 (156.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 412817  bytes 67765448 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412817  bytes 67765448 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758291b0>: 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 0x758291b0>: 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 0x758291b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692090  bytes 164303765 (156.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 412837  bytes 67768216 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412837  bytes 67768216 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fc1f0>: 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 0x757fc1f0>: 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 0x757fc1f0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692097  bytes 164304660 (156.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 412859  bytes 67771276 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412859  bytes 67771276 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f8250>: 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 0x757f8250>: 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 0x757f8250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692101  bytes 164305297 (156.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 412877  bytes 67773732 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412877  bytes 67773732 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fc210>: 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 0x757fc210>: 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 0x757fc210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692108  bytes 164306192 (156.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 412891  bytes 67775628 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412891  bytes 67775628 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587e230>: 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 0x7587e230>: 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 0x7587e230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692112  bytes 164306829 (156.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 412909  bytes 67778084 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412909  bytes 67778084 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758431f0>: 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 0x758431f0>: 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 0x758431f0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692119  bytes 164307724 (156.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 412923  bytes 67779980 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412923  bytes 67779980 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b51b0>: 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 0x758b51b0>: 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 0x758b51b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692123  bytes 164308361 (156.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 412941  bytes 67782436 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412941  bytes 67782436 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75835190>: 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 0x75835190>: 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 0x75835190>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692130  bytes 164309256 (156.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 412955  bytes 67784332 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412955  bytes 67784332 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75814210>: 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 0x75814210>: 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 0x75814210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692135  bytes 164309979 (156.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 412981  bytes 67787936 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 412981  bytes 67787936 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757df170>: 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 0x757df170>: 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 0x757df170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692142  bytes 164310874 (156.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 413009  bytes 67791808 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413009  bytes 67791808 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584a1b0>: 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 0x7584a1b0>: 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 0x7584a1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692148  bytes 164311683 (156.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 413027  bytes 67794286 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413027  bytes 67794286 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75899130>: 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 0x75899130>: 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 0x75899130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692155  bytes 164312578 (156.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 413075  bytes 67800878 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413075  bytes 67800878 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e7250>: 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 0x757e7250>: 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 0x757e7250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692159  bytes 164313215 (156.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 413101  bytes 67804492 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413101  bytes 67804492 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758602b0>: 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 0x758602b0>: 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 0x758602b0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692165  bytes 164313731 (156.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 413115  bytes 67806388 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413115  bytes 67806388 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b7230>: 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 0x758b7230>: 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 0x758b7230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692169  bytes 164314368 (156.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 413133  bytes 67808844 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413133  bytes 67808844 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758661d0>: 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 0x758661d0>: 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 0x758661d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692176  bytes 164315263 (156.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 413147  bytes 67810740 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413147  bytes 67810740 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582e1f0>: 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 0x7582e1f0>: 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 0x7582e1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692180  bytes 164315900 (156.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 413165  bytes 67813196 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413165  bytes 67813196 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758641d0>: 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 0x758641d0>: 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 0x758641d0>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692187  bytes 164316795 (156.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 413179  bytes 67815092 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413179  bytes 67815092 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e2230>: 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 0x757e2230>: 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 0x757e2230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692191  bytes 164317432 (156.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 413205  bytes 67818696 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413205  bytes 67818696 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758981f0>: 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 0x758981f0>: 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 0x758981f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692198  bytes 164318327 (156.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 413227  bytes 67821716 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413227  bytes 67821716 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e81b0>: 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 0x757e81b0>: 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 0x757e81b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692202  bytes 164318964 (156.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 413253  bytes 67825336 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413253  bytes 67825336 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75844230>: 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 0x75844230>: 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 0x75844230>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692209  bytes 164319859 (156.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 413267  bytes 67827232 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413267  bytes 67827232 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e0250>: 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 0x757e0250>: 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 0x757e0250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692213  bytes 164320496 (156.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 413293  bytes 67830852 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413293  bytes 67830852 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757d8190>: 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 0x757d8190>: 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 0x757d8190>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692220  bytes 164321391 (156.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 413307  bytes 67832748 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413307  bytes 67832748 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758bd310>: 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 0x758bd310>: 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 0x758bd310>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692224  bytes 164322028 (156.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 413325  bytes 67835204 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413325  bytes 67835204 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585f290>: 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 0x7585f290>: 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 0x7585f290>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692231  bytes 164322923 (156.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 413339  bytes 67837100 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413339  bytes 67837100 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f91b0>: 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 0x757f91b0>: 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 0x757f91b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692235  bytes 164323560 (156.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 413357  bytes 67839556 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413357  bytes 67839556 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c5190>: 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 0x758c5190>: 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 0x758c5190>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692242  bytes 164324455 (156.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 413369  bytes 67841172 (64.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413369  bytes 67841172 (64.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757db1d0>: 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 0x757db1d0>: 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 0x757db1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692248  bytes 164324971 (156.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 413395  bytes 67844764 (64.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413395  bytes 67844764 (64.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587f190>: 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 0x7587f190>: 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 0x7587f190>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692254  bytes 164325780 (156.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 413417  bytes 67847784 (64.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413417  bytes 67847784 (64.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75846150>: 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 0x75846150>: 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 0x75846150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692259  bytes 164326503 (156.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 413445  bytes 67851696 (64.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413445  bytes 67851696 (64.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ce150>: 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 0x758ce150>: 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 0x758ce150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692266  bytes 164327398 (156.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 413459  bytes 67853592 (64.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413459  bytes 67853592 (64.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758321d0>: 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 0x758321d0>: 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 0x758321d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692270  bytes 164328035 (156.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 413485  bytes 67857212 (64.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413485  bytes 67857212 (64.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585d230>: 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 0x7585d230>: 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 0x7585d230>: 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.5.220  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 772341  bytes 147181182 (140.3 MiB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 692283  bytes 164329654 (156.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 413503  bytes 67859316 (64.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 413503  bytes 67859316 (64.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75a7b8b0>: 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 0x75a7b8b0>: 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 0x75a7b8b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75866250>: 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 0x75866250>: 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 0x75866250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e3230>: 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 0x757e3230>: 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 0x757e3230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758922d0>: 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 0x758922d0>: 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 0x758922d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d0210>: 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 0x758d0210>: 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 0x758d0210>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f91d0>: 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 0x757f91d0>: 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 0x757f91d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f1270>: 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 0x757f1270>: 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 0x757f1270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75875170>: 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 0x75875170>: 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 0x75875170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588b1d0>: 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 0x7588b1d0>: 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 0x7588b1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b7210>: 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 0x758b7210>: 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 0x758b7210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75861290>: 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 0x75861290>: 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 0x75861290>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587c230>: 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 0x7587c230>: 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 0x7587c230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7581c190>: 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 0x7581c190>: 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 0x7581c190>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584f250>: 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 0x7584f250>: 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 0x7584f250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f81d0>: 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 0x757f81d0>: 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 0x757f81d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e51b0>: 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 0x757e51b0>: 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 0x757e51b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f21f0>: 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 0x757f21f0>: 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 0x757f21f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e9210>: 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 0x757e9210>: 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 0x757e9210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758451f0>: 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 0x758451f0>: 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 0x758451f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758961d0>: 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 0x758961d0>: 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 0x758961d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a7170>: 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 0x758a7170>: 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 0x758a7170>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a4210>: 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 0x758a4210>: 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 0x758a4210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757d51f0>: 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 0x757d51f0>: 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 0x757d51f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b6210>: 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 0x758b6210>: 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 0x758b6210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ec210>: 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 0x757ec210>: 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 0x757ec210>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758591f0>: 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 0x758591f0>: 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 0x758591f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a31f0>: 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 0x758a31f0>: 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 0x758a31f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75809250>: 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 0x75809250>: 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 0x75809250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75821270>: 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 0x75821270>: 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 0x75821270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758041d0>: 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 0x758041d0>: 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 0x758041d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b9290>: 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 0x758b9290>: 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 0x758b9290>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e61f0>: 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 0x757e61f0>: 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 0x757e61f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583e270>: 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 0x7583e270>: 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 0x7583e270>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b6230>: 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 0x758b6230>: 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 0x758b6230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758591f0>: 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 0x758591f0>: 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 0x758591f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584f2f0>: 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 0x7584f2f0>: 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 0x7584f2f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75800250>: 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 0x75800250>: 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 0x75800250>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75856250>: 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 0x75856250>: 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 0x75856250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588f290>: 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 0x7588f290>: 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 0x7588f290>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75808230>: 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 0x75808230>: 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 0x75808230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758961d0>: 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 0x758961d0>: 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 0x758961d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584b250>: 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 0x7584b250>: 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 0x7584b250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758821d0>: 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 0x758821d0>: 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 0x758821d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758701b0>: 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 0x758701b0>: 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 0x758701b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75863270>: 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 0x75863270>: 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 0x75863270>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757dc170>: 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 0x757dc170>: 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 0x757dc170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75891270>: 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 0x75891270>: 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 0x75891270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758291b0>: 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 0x758291b0>: 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 0x758291b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f0250>: 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 0x757f0250>: 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 0x757f0250>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f3250>: 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 0x757f3250>: 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 0x757f3250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758851d0>: 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 0x758851d0>: 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 0x758851d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b7250>: 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 0x758b7250>: 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 0x758b7250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75fdc250>: 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 0x75fdc250>: 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 0x75fdc250>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584e290>: 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 0x7584e290>: 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 0x7584e290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583b1d0>: 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 0x7583b1d0>: 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 0x7583b1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758031f0>: 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 0x758031f0>: 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 0x758031f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582b290>: 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 0x7582b290>: 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 0x7582b290>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758002d0>: 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 0x758002d0>: 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 0x758002d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758af1f0>: 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 0x758af1f0>: 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 0x758af1f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75843230>: 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 0x75843230>: 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 0x75843230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75802290>: 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 0x75802290>: 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 0x75802290>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e3290>: 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 0x757e3290>: 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 0x757e3290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583f190>: 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 0x7583f190>: 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 0x7583f190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758601f0>: 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 0x758601f0>: 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 0x758601f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589b210>: 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 0x7589b210>: 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 0x7589b210>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7580b230>: 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 0x7580b230>: 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 0x7580b230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585b1b0>: 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 0x7585b1b0>: 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 0x7585b1b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f9270>: 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 0x757f9270>: 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 0x757f9270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757df210>: 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 0x757df210>: 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 0x757df210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589c270>: 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 0x7589c270>: 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 0x7589c270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75821210>: 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 0x75821210>: 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 0x75821210>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582b230>: 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 0x7582b230>: 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 0x7582b230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d41f0>: 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 0x758d41f0>: 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 0x758d41f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757db230>: 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 0x757db230>: 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 0x757db230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c51f0>: 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 0x758c51f0>: 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 0x758c51f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758be1f0>: 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 0x758be1f0>: 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 0x758be1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75f781b0>: 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 0x75f781b0>: 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 0x75f781b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75848290>: 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 0x75848290>: 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 0x75848290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75a13930>: 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 0x75a13930>: 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 0x75a13930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fd290>: 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 0x757fd290>: 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 0x757fd290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75814150>: 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 0x75814150>: 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 0x75814150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758cd230>: 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 0x758cd230>: 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 0x758cd230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758971d0>: 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 0x758971d0>: 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 0x758971d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b7250>: 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 0x758b7250>: 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 0x758b7250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b8290>: 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 0x758b8290>: 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 0x758b8290>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587b210>: 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 0x7587b210>: 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 0x7587b210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582e230>: 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 0x7582e230>: 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 0x7582e230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75f2a230>: 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 0x75f2a230>: 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 0x75f2a230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758bb1d0>: 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 0x758bb1d0>: 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 0x758bb1d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fb210>: 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 0x757fb210>: 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 0x757fb210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588c1f0>: 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 0x7588c1f0>: 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 0x7588c1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75811270>: 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 0x75811270>: 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 0x75811270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a4130>: 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 0x758a4130>: 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 0x758a4130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ed210>: 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 0x757ed210>: 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 0x757ed210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ae170>: 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 0x758ae170>: 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 0x758ae170>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75866210>: 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 0x75866210>: 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 0x75866210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x759a98f0>: 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 0x759a98f0>: 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 0x759a98f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583b190>: 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 0x7583b190>: 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 0x7583b190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ee1b0>: 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 0x757ee1b0>: 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 0x757ee1b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x759d6e30>: 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 0x759d6e30>: 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 0x759d6e30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75859230>: 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 0x75859230>: 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 0x75859230>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75823230>: 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 0x75823230>: 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 0x75823230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c0190>: 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 0x758c0190>: 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 0x758c0190>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758432f0>: 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 0x758432f0>: 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 0x758432f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588f1f0>: 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 0x7588f1f0>: 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 0x7588f1f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75819210>: 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 0x75819210>: 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 0x75819210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75a86930>: 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 0x75a86930>: 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 0x75a86930>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75841250>: 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 0x75841250>: 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 0x75841250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x759b1930>: 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 0x759b1930>: 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 0x759b1930>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e1230>: 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 0x757e1230>: 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 0x757e1230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75864270>: 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 0x75864270>: 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 0x75864270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c7270>: 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 0x758c7270>: 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 0x758c7270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fe230>: 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 0x757fe230>: 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 0x757fe230>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75887190>: 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 0x75887190>: 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 0x75887190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d11f0>: 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 0x758d11f0>: 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 0x758d11f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75807210>: 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 0x75807210>: 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 0x75807210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758101b0>: 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 0x758101b0>: 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 0x758101b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75824250>: 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 0x75824250>: 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 0x75824250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ba290>: 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 0x758ba290>: 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 0x758ba290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ab210>: 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 0x758ab210>: 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 0x758ab210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75884230>: 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 0x75884230>: 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 0x75884230>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d3250>: 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 0x758d3250>: 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 0x758d3250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e9250>: 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 0x757e9250>: 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 0x757e9250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75865290>: 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 0x75865290>: 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 0x75865290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d1230>: 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 0x758d1230>: 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 0x758d1230>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75800210>: 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 0x75800210>: 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 0x75800210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758971d0>: 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 0x758971d0>: 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 0x758971d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758602d0>: 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 0x758602d0>: 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 0x758602d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75878230>: 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 0x75878230>: 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 0x75878230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75883230>: 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 0x75883230>: 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 0x75883230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75856250>: 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 0x75856250>: 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 0x75856250>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584c250>: 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 0x7584c250>: 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 0x7584c250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7586d210>: 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 0x7586d210>: 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 0x7586d210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758371f0>: 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 0x758371f0>: 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 0x758371f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585e1b0>: 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 0x7585e1b0>: 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 0x7585e1b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75843150>: 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 0x75843150>: 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 0x75843150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589e1b0>: 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 0x7589e1b0>: 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 0x7589e1b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75803230>: 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 0x75803230>: 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 0x75803230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585b1d0>: 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 0x7585b1d0>: 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 0x7585b1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758781d0>: 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 0x758781d0>: 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 0x758781d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75803230>: 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 0x75803230>: 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 0x75803230>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75802190>: 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 0x75802190>: 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 0x75802190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758cf270>: 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 0x758cf270>: 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 0x758cf270>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75f2a3b0>: 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 0x75f2a3b0>: 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 0x75f2a3b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758022d0>: 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 0x758022d0>: 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 0x758022d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75808210>: 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 0x75808210>: 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 0x75808210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585d250>: 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 0x7585d250>: 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 0x7585d250>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584f270>: 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 0x7584f270>: 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 0x7584f270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b0250>: 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 0x758b0250>: 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 0x758b0250>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758871b0>: 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 0x758871b0>: 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 0x758871b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583d170>: 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 0x7583d170>: 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 0x7583d170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e5210>: 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 0x757e5210>: 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 0x757e5210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75860210>: 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 0x75860210>: 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 0x75860210>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758381f0>: 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 0x758381f0>: 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 0x758381f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588f190>: 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 0x7588f190>: 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 0x7588f190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589d1f0>: 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 0x7589d1f0>: 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 0x7589d1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ac190>: 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 0x758ac190>: 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 0x758ac190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e5290>: 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 0x757e5290>: 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 0x757e5290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x759ea970>: 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 0x759ea970>: 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 0x759ea970>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f5210>: 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 0x757f5210>: 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 0x757f5210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75821250>: 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 0x75821250>: 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 0x75821250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588d1f0>: 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 0x7588d1f0>: 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 0x7588d1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f3210>: 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 0x757f3210>: 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 0x757f3210>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587e290>: 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 0x7587e290>: 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 0x7587e290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75898230>: 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 0x75898230>: 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 0x75898230>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75844210>: 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 0x75844210>: 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 0x75844210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75815250>: 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 0x75815250>: 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 0x75815250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75f952d0>: 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 0x75f952d0>: 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 0x75f952d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e5230>: 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 0x757e5230>: 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 0x757e5230>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582c270>: 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 0x7582c270>: 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 0x7582c270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e21f0>: 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 0x757e21f0>: 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 0x757e21f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758cc1d0>: 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 0x758cc1d0>: 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 0x758cc1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f8230>: 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 0x757f8230>: 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 0x757f8230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e41d0>: 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 0x757e41d0>: 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 0x757e41d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c5270>: 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 0x758c5270>: 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 0x758c5270>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a0250>: 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 0x758a0250>: 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 0x758a0250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758701d0>: 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 0x758701d0>: 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 0x758701d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fa1b0>: 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 0x757fa1b0>: 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 0x757fa1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75803250>: 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 0x75803250>: 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 0x75803250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fa270>: 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 0x757fa270>: 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 0x757fa270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758791d0>: 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 0x758791d0>: 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 0x758791d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758162b0>: 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 0x758162b0>: 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 0x758162b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b4250>: 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 0x758b4250>: 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 0x758b4250>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f92b0>: 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 0x757f92b0>: 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 0x757f92b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c11d0>: 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 0x758c11d0>: 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 0x758c11d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758031d0>: 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 0x758031d0>: 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 0x758031d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585f210>: 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 0x7585f210>: 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 0x7585f210>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75868210>: 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 0x75868210>: 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 0x75868210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758951b0>: 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 0x758951b0>: 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 0x758951b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75879150>: 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 0x75879150>: 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 0x75879150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583a1f0>: 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 0x7583a1f0>: 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 0x7583a1f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758951f0>: 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 0x758951f0>: 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 0x758951f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75843210>: 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 0x75843210>: 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 0x75843210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a71d0>: 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 0x758a71d0>: 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 0x758a71d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75876250>: 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 0x75876250>: 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 0x75876250>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75887230>: 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 0x75887230>: 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 0x75887230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757d52d0>: 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 0x757d52d0>: 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 0x757d52d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75841250>: 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 0x75841250>: 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 0x75841250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758351f0>: 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 0x758351f0>: 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 0x758351f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758301b0>: 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 0x758301b0>: 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 0x758301b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758722b0>: 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 0x758722b0>: 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 0x758722b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585f210>: 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 0x7585f210>: 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 0x7585f210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758bb250>: 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 0x758bb250>: 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 0x758bb250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582e210>: 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 0x7582e210>: 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 0x7582e210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7586a1d0>: 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 0x7586a1d0>: 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 0x7586a1d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7588f290>: 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 0x7588f290>: 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 0x7588f290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758512d0>: 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 0x758512d0>: 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 0x758512d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75897310>: 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 0x75897310>: 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 0x75897310>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75f1b2b0>: 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 0x75f1b2b0>: 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 0x75f1b2b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75a72450>: 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 0x75a72450>: 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 0x75a72450>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757eb210>: 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 0x757eb210>: 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 0x757eb210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7580a270>: 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 0x7580a270>: 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 0x7580a270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582c270>: 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 0x7582c270>: 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 0x7582c270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b51d0>: 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 0x758b51d0>: 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 0x758b51d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589c290>: 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 0x7589c290>: 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 0x7589c290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758151f0>: 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 0x758151f0>: 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 0x758151f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75881190>: 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 0x75881190>: 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 0x75881190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585e190>: 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 0x7585e190>: 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 0x7585e190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587e230>: 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 0x7587e230>: 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 0x7587e230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75855210>: 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 0x75855210>: 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 0x75855210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757de1d0>: 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 0x757de1d0>: 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 0x757de1d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7580a250>: 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 0x7580a250>: 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 0x7580a250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b91b0>: 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 0x758b91b0>: 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 0x758b91b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75845210>: 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 0x75845210>: 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 0x75845210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583a250>: 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 0x7583a250>: 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 0x7583a250>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b51f0>: 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 0x758b51f0>: 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 0x758b51f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75889290>: 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 0x75889290>: 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 0x75889290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75868250>: 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 0x75868250>: 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 0x75868250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75888210>: 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 0x75888210>: 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 0x75888210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75b224f0>: 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 0x75b224f0>: 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 0x75b224f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587e2b0>: 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 0x7587e2b0>: 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 0x7587e2b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fe2b0>: 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 0x757fe2b0>: 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 0x757fe2b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758841d0>: 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 0x758841d0>: 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 0x758841d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75861230>: 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 0x75861230>: 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 0x75861230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75806230>: 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 0x75806230>: 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 0x75806230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75868210>: 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 0x75868210>: 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 0x75868210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e8210>: 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 0x757e8210>: 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 0x757e8210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758761b0>: 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 0x758761b0>: 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 0x758761b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758572b0>: 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 0x758572b0>: 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 0x758572b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758aa230>: 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 0x758aa230>: 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 0x758aa230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75818190>: 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 0x75818190>: 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 0x75818190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c2190>: 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 0x758c2190>: 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 0x758c2190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ae190>: 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 0x758ae190>: 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 0x758ae190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ff230>: 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 0x757ff230>: 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 0x757ff230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75822250>: 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 0x75822250>: 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 0x75822250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75817210>: 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 0x75817210>: 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 0x75817210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758021b0>: 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 0x758021b0>: 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 0x758021b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583e1b0>: 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 0x7583e1b0>: 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 0x7583e1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7581b1d0>: 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 0x7581b1d0>: 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 0x7581b1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b52b0>: 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 0x758b52b0>: 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 0x758b52b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75c03690>: 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 0x75c03690>: 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 0x75c03690>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e61f0>: 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 0x757e61f0>: 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 0x757e61f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d1270>: 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 0x758d1270>: 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 0x758d1270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758141f0>: 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 0x758141f0>: 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 0x758141f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757dd2b0>: 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 0x757dd2b0>: 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 0x757dd2b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757eb270>: 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 0x757eb270>: 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 0x757eb270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758311f0>: 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 0x758311f0>: 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 0x758311f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758751d0>: 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 0x758751d0>: 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 0x758751d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589d1f0>: 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 0x7589d1f0>: 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 0x7589d1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d11d0>: 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 0x758d11d0>: 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 0x758d11d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75f14530>: 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 0x75f14530>: 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 0x75f14530>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758bd1b0>: 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 0x758bd1b0>: 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 0x758bd1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758d1250>: 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 0x758d1250>: 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 0x758d1250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757d6190>: 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 0x757d6190>: 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 0x757d6190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758691f0>: 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 0x758691f0>: 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 0x758691f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75820230>: 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 0x75820230>: 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 0x75820230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585a1f0>: 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 0x7585a1f0>: 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 0x7585a1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c01f0>: 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 0x758c01f0>: 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 0x758c01f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75881290>: 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 0x75881290>: 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 0x75881290>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75867250>: 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 0x75867250>: 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 0x75867250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758021d0>: 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 0x758021d0>: 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 0x758021d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7585e230>: 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 0x7585e230>: 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 0x7585e230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7583f1d0>: 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 0x7583f1d0>: 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 0x7583f1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ae1f0>: 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 0x758ae1f0>: 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 0x758ae1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758221b0>: 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 0x758221b0>: 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 0x758221b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75844270>: 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 0x75844270>: 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 0x75844270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75853270>: 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 0x75853270>: 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 0x75853270>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758cb270>: 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 0x758cb270>: 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 0x758cb270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757de290>: 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 0x757de290>: 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 0x757de290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75813270>: 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 0x75813270>: 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 0x75813270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758511b0>: 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 0x758511b0>: 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 0x758511b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f3250>: 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 0x757f3250>: 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 0x757f3250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f8250>: 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 0x757f8250>: 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 0x757f8250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7581a1d0>: 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 0x7581a1d0>: 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 0x7581a1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75877230>: 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 0x75877230>: 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 0x75877230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589b190>: 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 0x7589b190>: 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 0x7589b190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75858250>: 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 0x75858250>: 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 0x75858250>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c6210>: 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 0x758c6210>: 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 0x758c6210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758661f0>: 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 0x758661f0>: 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 0x758661f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e62d0>: 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 0x757e62d0>: 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 0x757e62d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a11d0>: 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 0x758a11d0>: 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 0x758a11d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ff1f0>: 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 0x757ff1f0>: 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 0x757ff1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758be210>: 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 0x758be210>: 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 0x758be210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75875210>: 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 0x75875210>: 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 0x75875210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7586b1d0>: 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 0x7586b1d0>: 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 0x7586b1d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c31d0>: 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 0x758c31d0>: 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 0x758c31d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75862230>: 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 0x75862230>: 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 0x75862230>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589d1b0>: 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 0x7589d1b0>: 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 0x7589d1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b71f0>: 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 0x758b71f0>: 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 0x758b71f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75854250>: 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 0x75854250>: 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 0x75854250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75868270>: 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 0x75868270>: 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 0x75868270>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758951d0>: 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 0x758951d0>: 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 0x758951d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589a230>: 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 0x7589a230>: 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 0x7589a230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757dd210>: 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 0x757dd210>: 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 0x757dd210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758bb1b0>: 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 0x758bb1b0>: 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 0x758bb1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f01b0>: 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 0x757f01b0>: 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 0x757f01b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75846210>: 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 0x75846210>: 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 0x75846210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758251b0>: 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 0x758251b0>: 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 0x758251b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f31b0>: 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 0x757f31b0>: 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 0x757f31b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75885250>: 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 0x75885250>: 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 0x75885250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584a1d0>: 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 0x7584a1d0>: 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 0x7584a1d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758cd1d0>: 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 0x758cd1d0>: 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 0x758cd1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x759c2770>: 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 0x759c2770>: 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 0x759c2770>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7589f1b0>: 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 0x7589f1b0>: 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 0x7589f1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c2210>: 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 0x758c2210>: 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 0x758c2210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758b32b0>: 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 0x758b32b0>: 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 0x758b32b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f7250>: 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 0x757f7250>: 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 0x757f7250>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75837250>: 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 0x75837250>: 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 0x75837250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a21d0>: 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 0x758a21d0>: 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 0x758a21d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e8250>: 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 0x757e8250>: 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 0x757e8250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75851230>: 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 0x75851230>: 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 0x75851230>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758c01f0>: 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 0x758c01f0>: 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 0x758c01f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75888290>: 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 0x75888290>: 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 0x75888290>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e7190>: 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 0x757e7190>: 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 0x757e7190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75805210>: 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 0x75805210>: 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 0x75805210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a6210>: 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 0x758a6210>: 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 0x758a6210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757d6210>: 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 0x757d6210>: 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 0x757d6210>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75820210>: 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 0x75820210>: 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 0x75820210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757db1d0>: 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 0x757db1d0>: 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 0x757db1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758112b0>: 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 0x758112b0>: 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 0x758112b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7581a1f0>: 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 0x7581a1f0>: 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 0x7581a1f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757d8210>: 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 0x757d8210>: 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 0x757d8210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7660d350>: 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 0x7660d350>: 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 0x7660d350>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f32d0>: 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 0x757f32d0>: 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 0x757f32d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758ae230>: 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 0x758ae230>: 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 0x758ae230>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582b1b0>: 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 0x7582b1b0>: 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 0x7582b1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758bb1f0>: 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 0x758bb1f0>: 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 0x758bb1f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757fb1f0>: 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 0x757fb1f0>: 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 0x757fb1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75829150>: 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 0x75829150>: 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 0x75829150>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587d230>: 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 0x7587d230>: 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 0x7587d230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a3210>: 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 0x758a3210>: 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 0x758a3210>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757d9210>: 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 0x757d9210>: 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 0x757d9210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f11b0>: 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 0x757f11b0>: 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 0x757f11b0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758041f0>: 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 0x758041f0>: 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 0x758041f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7584c210>: 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 0x7584c210>: 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 0x7584c210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75860210>: 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 0x75860210>: 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 0x75860210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75855190>: 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 0x75855190>: 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 0x75855190>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75880170>: 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 0x75880170>: 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 0x75880170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75881290>: 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 0x75881290>: 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 0x75881290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75a0c8b0>: 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 0x75a0c8b0>: 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 0x75a0c8b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75879190>: 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 0x75879190>: 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 0x75879190>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75896250>: 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 0x75896250>: 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 0x75896250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e0250>: 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 0x757e0250>: 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 0x757e0250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75818170>: 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 0x75818170>: 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 0x75818170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75808190>: 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 0x75808190>: 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 0x75808190>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587a230>: 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 0x7587a230>: 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 0x7587a230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758651b0>: 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 0x758651b0>: 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 0x758651b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75a83410>: 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 0x75a83410>: 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 0x75a83410>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757d61f0>: 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 0x757d61f0>: 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 0x757d61f0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75829290>: 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 0x75829290>: 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 0x75829290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757e21d0>: 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 0x757e21d0>: 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 0x757e21d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ec270>: 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 0x757ec270>: 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 0x757ec270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7581f310>: 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 0x7581f310>: 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 0x7581f310>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582b250>: 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 0x7582b250>: 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 0x7582b250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758532f0>: 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 0x758532f0>: 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 0x758532f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757dc250>: 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 0x757dc250>: 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 0x757dc250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587f1d0>: 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 0x7587f1d0>: 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 0x7587f1d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7580b250>: 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 0x7580b250>: 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 0x7580b250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758bc270>: 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 0x758bc270>: 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 0x758bc270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758111b0>: 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 0x758111b0>: 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 0x758111b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75867290>: 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 0x75867290>: 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 0x75867290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x759c18f0>: 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 0x759c18f0>: 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 0x759c18f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758a2230>: 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 0x758a2230>: 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 0x758a2230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75890250>: 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 0x75890250>: 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 0x75890250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f8210>: 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 0x757f8210>: 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 0x757f8210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758431b0>: 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 0x758431b0>: 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 0x758431b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757dc1d0>: 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 0x757dc1d0>: 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 0x757dc1d0>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7587c210>: 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 0x7587c210>: 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 0x7587c210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f01f0>: 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 0x757f01f0>: 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 0x757f01f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75823290>: 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 0x75823290>: 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 0x75823290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75a909d0>: 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 0x75a909d0>: 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 0x75a909d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758742b0>: 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 0x758742b0>: 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 0x758742b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757f9230>: 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 0x757f9230>: 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 0x757f9230>: 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'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75878250>: 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 0x75878250>: 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 0x75878250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758031f0>: 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 0x758031f0>: 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 0x758031f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x758831f0>: 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 0x758831f0>: 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 0x758831f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757d6270>: 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 0x757d6270>: 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 0x757d6270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x7582d170>: 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 0x7582d170>: 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 0x7582d170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x757ee1f0>: 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 0x757ee1f0>: 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 0x757ee1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75a4b790>: 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 0x75a4b790>: 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 0x75a4b790>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 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 0x75858210>: 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 0x75858210>: 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 0x75858210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 48  bytes 4078 (3.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35  bytes 4485 (4.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 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 124  bytes 17967 (17.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89  bytes 12169 (11.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 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 225  bytes 33325 (32.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 19125 (18.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 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 319  bytes 48144 (47.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 26241 (25.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 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 416  bytes 64087 (62.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 233  bytes 33243 (32.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 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 510  bytes 79814 (77.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 287  bytes 40877 (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 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 682  bytes 102612 (100.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 341  bytes 48647 (47.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 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 792  bytes 118804 (116.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 392  bytes 56104 (54.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 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 904  bytes 135059 (131.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 442  bytes 63235 (61.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 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 1050  bytes 159844 (156.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 543  bytes 78436 (76.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 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 1183  bytes 178674 (174.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 607  bytes 87087 (85.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 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 1389  bytes 235134 (229.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 721  bytes 105796 (103.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 117  bytes 19750 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117  bytes 19750 (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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 1502  bytes 269501 (263.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775  bytes 113432 (110.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 117  bytes 19750 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117  bytes 19750 (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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 1637  bytes 294339 (287.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 881  bytes 131512 (128.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 226  bytes 39048 (38.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226  bytes 39048 (38.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 1762  bytes 318753 (311.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 942  bytes 139672 (136.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 226  bytes 39048 (38.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226  bytes 39048 (38.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 1912  bytes 344661 (336.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1050  bytes 157944 (154.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 341  bytes 58778 (57.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 341  bytes 58778 (57.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 2013  bytes 360567 (352.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1106  bytes 165518 (161.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 341  bytes 58778 (57.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 341  bytes 58778 (57.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 2156  bytes 386605 (377.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1213  bytes 183752 (179.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 453  bytes 78292 (76.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 453  bytes 78292 (76.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 2233  bytes 400575 (391.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1268  bytes 191296 (186.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 453  bytes 78292 (76.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 453  bytes 78292 (76.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 2394  bytes 432763 (422.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1436  bytes 218406 (213.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 577  bytes 98482 (96.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 577  bytes 98482 (96.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 2482  bytes 447537 (437.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1494  bytes 226308 (221.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 577  bytes 98482 (96.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 577  bytes 98482 (96.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 2614  bytes 471916 (460.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1603  bytes 244566 (238.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 687  bytes 117852 (115.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687  bytes 117852 (115.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 2706  bytes 487007 (475.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1654  bytes 251846 (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 687  bytes 117852 (115.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687  bytes 117852 (115.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 2819  bytes 510035 (498.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1762  bytes 270278 (263.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 795  bytes 137078 (133.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 795  bytes 137078 (133.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 2906  bytes 524670 (512.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1812  bytes 277482 (270.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 795  bytes 137078 (133.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 795  bytes 137078 (133.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 3064  bytes 564575 (551.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1927  bytes 296354 (289.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 903  bytes 156304 (152.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 903  bytes 156304 (152.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 3277  bytes 591980 (578.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2250  bytes 673908 (658.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 996  bytes 516869 (504.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 996  bytes 516869 (504.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 3409  bytes 619176 (604.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2369  bytes 693146 (676.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 1104  bytes 536095 (523.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1104  bytes 536095 (523.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 3499  bytes 635151 (620.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2422  bytes 700649 (684.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 1104  bytes 536095 (523.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1104  bytes 536095 (523.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 3626  bytes 660489 (645.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2542  bytes 719958 (703.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 1225  bytes 556169 (543.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1225  bytes 556169 (543.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 3751  bytes 684748 (668.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2642  bytes 734987 (717.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 1230  bytes 556429 (543.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1230  bytes 556429 (543.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 3948  bytes 718291 (701.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2761  bytes 754188 (736.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 1341  bytes 575871 (562.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1341  bytes 575871 (562.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 4040  bytes 734909 (717.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2812  bytes 761367 (743.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 1341  bytes 575871 (562.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1341  bytes 575871 (562.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 4179  bytes 761198 (743.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2924  bytes 780024 (761.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 1452  bytes 595313 (581.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1452  bytes 595313 (581.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 4265  bytes 777002 (758.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2979  bytes 787601 (769.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 1452  bytes 595313 (581.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1452  bytes 595313 (581.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 4393  bytes 802371 (783.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3087  bytes 805762 (786.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 1560  bytes 614539 (600.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1560  bytes 614539 (600.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 4477  bytes 817707 (798.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3149  bytes 813941 (794.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 1560  bytes 614539 (600.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1560  bytes 614539 (600.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 4604  bytes 842928 (823.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3255  bytes 831982 (812.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 1670  bytes 633909 (619.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1670  bytes 633909 (619.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 4683  bytes 857948 (837.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3308  bytes 839394 (819.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 1670  bytes 633909 (619.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1670  bytes 633909 (619.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 4826  bytes 884589 (863.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3427  bytes 858464 (838.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 1785  bytes 653639 (638.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1785  bytes 653639 (638.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 4945  bytes 905745 (884.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3512  bytes 870569 (850.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 1797  bytes 654327 (638.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1797  bytes 654327 (638.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 5092  bytes 932443 (910.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3621  bytes 888841 (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 1903  bytes 673397 (657.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1903  bytes 673397 (657.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 5221  bytes 956157 (933.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3701  bytes 900502 (879.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 1903  bytes 673397 (657.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1903  bytes 673397 (657.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 5420  bytes 993731 (970.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3813  bytes 919207 (897.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 2015  bytes 692911 (676.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2015  bytes 692911 (676.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 5534  bytes 1012451 (988.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3862  bytes 926283 (904.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 2015  bytes 692911 (676.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2015  bytes 692911 (676.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 5676  bytes 1039539 (1015.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3979  bytes 945177 (923.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 2128  bytes 712497 (695.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2128  bytes 712497 (695.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 5777  bytes 1056594 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4030  bytes 952593 (930.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 2128  bytes 712497 (695.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2128  bytes 712497 (695.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 5897  bytes 1081114 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4147  bytes 971451 (948.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 2233  bytes 731507 (714.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2233  bytes 731507 (714.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 5983  bytes 1096104 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4195  bytes 978481 (955.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 2233  bytes 731507 (714.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2233  bytes 731507 (714.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 6125  bytes 1123438 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4321  bytes 998211 (974.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 2349  bytes 751309 (733.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2349  bytes 751309 (733.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 6223  bytes 1142200 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4394  bytes 1009286 (985.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 2355  bytes 751637 (734.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2355  bytes 751637 (734.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 6362  bytes 1169069 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4513  bytes 1028464 (1004.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 2466  bytes 771079 (753.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2466  bytes 771079 (753.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 6463  bytes 1186579 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4564  bytes 1035644 (1011.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 2472  bytes 771439 (753.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2472  bytes 771439 (753.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 6593  bytes 1211794 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4673  bytes 1053996 (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 2582  bytes 790797 (772.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2582  bytes 790797 (772.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 6685  bytes 1230646 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4753  bytes 1065473 (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 2582  bytes 790797 (772.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2582  bytes 790797 (772.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 6814  bytes 1254298 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4861  bytes 1083695 (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 2691  bytes 810095 (791.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2691  bytes 810095 (791.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 6975  bytes 1277393 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4927  bytes 1092311 (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 2691  bytes 810095 (791.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2691  bytes 810095 (791.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 7100  bytes 1300879 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5036  bytes 1110631 (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 2803  bytes 829609 (810.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2803  bytes 829609 (810.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 7245  bytes 1331818 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5100  bytes 1119075 (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 2803  bytes 829609 (810.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2803  bytes 829609 (810.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 7400  bytes 1358396 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5216  bytes 1137903 (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 2913  bytes 848979 (829.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2913  bytes 848979 (829.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 7558  bytes 1382317 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5307  bytes 1150552 (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 2919  bytes 849307 (829.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2919  bytes 849307 (829.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 7866  bytes 1424778 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5432  bytes 1170440 (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 3034  bytes 869037 (848.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3034  bytes 869037 (848.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 8208  bytes 1463826 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5524  bytes 1181856 (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 3034  bytes 869037 (848.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3034  bytes 869037 (848.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 8374  bytes 1491950 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5634  bytes 1200210 (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 3144  bytes 888407 (867.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3144  bytes 888407 (867.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 8477  bytes 1508420 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5685  bytes 1207558 (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 3149  bytes 888707 (867.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3149  bytes 888707 (867.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 8656  bytes 1538098 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5806  bytes 1226795 (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 3269  bytes 908773 (887.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3269  bytes 908773 (887.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 8812  bytes 1562050 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5880  bytes 1237810 (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 3269  bytes 908773 (887.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3269  bytes 908773 (887.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 8986  bytes 1591044 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5997  bytes 1256720 (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 3385  bytes 928575 (906.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3385  bytes 928575 (906.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 9098  bytes 1607829 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6047  bytes 1263845 (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 3385  bytes 928575 (906.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3385  bytes 928575 (906.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 9296  bytes 1639144 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6175  bytes 1283711 (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 3500  bytes 948305 (926.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3500  bytes 948305 (926.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 9525  bytes 1685809 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6231  bytes 1291513 (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 3503  bytes 948477 (926.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3503  bytes 948477 (926.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 9807  bytes 1726688 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6380  bytes 1315210 (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 3620  bytes 968291 (945.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3620  bytes 968291 (945.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 9936  bytes 1746972 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6437  bytes 1322994 (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 3620  bytes 968291 (945.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3620  bytes 968291 (945.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 10179  bytes 1788316 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6555  bytes 1342070 (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 3731  bytes 987733 (964.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3731  bytes 987733 (964.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 10312  bytes 1807950 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6606  bytes 1349270 (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 3731  bytes 987733 (964.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3731  bytes 987733 (964.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 10467  bytes 1833873 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6711  bytes 1367254 (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 3841  bytes 1007103 (983.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3841  bytes 1007103 (983.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 10601  bytes 1853140 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6772  bytes 1375352 (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 3846  bytes 1007403 (983.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3846  bytes 1007403 (983.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 10737  bytes 1877891 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6883  bytes 1393788 (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 3955  bytes 1026677 (1002.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3955  bytes 1026677 (1002.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 10965  bytes 1908994 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6979  bytes 1406881 (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 3955  bytes 1026677 (1002.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3955  bytes 1026677 (1002.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 11218  bytes 1946943 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7097  bytes 1426004 (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 4067  bytes 1046191 (1021.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4067  bytes 1046191 (1021.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 11320  bytes 1963023 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7153  bytes 1433584 (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 4067  bytes 1046191 (1021.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4067  bytes 1046191 (1021.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 11498  bytes 1994641 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7300  bytes 1456975 (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 4186  bytes 1066105 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4186  bytes 1066105 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 11598  bytes 2010197 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7354  bytes 1464407 (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 4186  bytes 1066105 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4186  bytes 1066105 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 11754  bytes 2037957 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7465  bytes 1482815 (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 4300  bytes 1085763 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4300  bytes 1085763 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 11854  bytes 2055675 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7516  bytes 1490203 (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 4300  bytes 1085763 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4300  bytes 1085763 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 11981  bytes 2081307 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7632  bytes 1508994 (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 4410  bytes 1105133 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4410  bytes 1105133 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 12106  bytes 2101048 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7685  bytes 1516502 (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 4410  bytes 1105133 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4410  bytes 1105133 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 12325  bytes 2135983 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7806  bytes 1535831 (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 4520  bytes 1124503 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4520  bytes 1124503 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 12453  bytes 2154867 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7861  bytes 1543471 (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 4523  bytes 1124683 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4523  bytes 1124683 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 12597  bytes 2180970 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7978  bytes 1562392 (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 4642  bytes 1144665 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4642  bytes 1144665 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 12715  bytes 2200518 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8034  bytes 1569979 (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 4643  bytes 1144725 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4643  bytes 1144725 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 12929  bytes 2237807 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8204  bytes 1597226 (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 4758  bytes 1164351 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4758  bytes 1164351 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 13122  bytes 2272900 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8256  bytes 1604451 (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 4758  bytes 1164351 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4758  bytes 1164351 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 13348  bytes 2320579 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8373  bytes 1623460 (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 4866  bytes 1183593 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4866  bytes 1183593 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 13539  bytes 2375184 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8424  bytes 1630671 (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 4866  bytes 1183593 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4866  bytes 1183593 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 13687  bytes 2407272 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8531  bytes 1648786 (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 4977  bytes 1203035 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4977  bytes 1203035 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 13825  bytes 2432392 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8593  bytes 1656969 (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 4977  bytes 1203035 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4977  bytes 1203035 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 14044  bytes 2467446 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8709  bytes 1675938 (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 5089  bytes 1222549 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5089  bytes 1222549 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 14127  bytes 2482238 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8770  bytes 1684035 (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 5089  bytes 1222549 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5089  bytes 1222549 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 14282  bytes 2509876 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8882  bytes 1702573 (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 5203  bytes 1242207 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5203  bytes 1242207 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 14389  bytes 2527661 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8941  bytes 1710401 (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 5203  bytes 1242207 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5203  bytes 1242207 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 14562  bytes 2558749 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9078  bytes 1732983 (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 5327  bytes 1262409 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5327  bytes 1262409 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 14695  bytes 2586480 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9132  bytes 1740419 (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 5328  bytes 1262469 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5328  bytes 1262469 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 14870  bytes 2624002 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9267  bytes 1762688 (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 5438  bytes 1281839 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5438  bytes 1281839 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 14958  bytes 2640284 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9314  bytes 1769603 (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 5438  bytes 1281839 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5438  bytes 1281839 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 15124  bytes 2669620 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9435  bytes 1788973 (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 5547  bytes 1301137 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5547  bytes 1301137 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 15202  bytes 2683835 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9489  bytes 1796567 (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 5547  bytes 1301137 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5547  bytes 1301137 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 15423  bytes 2718308 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9610  bytes 1815812 (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 5654  bytes 1320291 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5654  bytes 1320291 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 15527  bytes 2735740 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9665  bytes 1823448 (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 5654  bytes 1320291 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5654  bytes 1320291 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 15702  bytes 2766209 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9782  bytes 1842317 (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 5763  bytes 1339589 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5763  bytes 1339589 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 15780  bytes 2779787 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9838  bytes 1849905 (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 5763  bytes 1339589 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5763  bytes 1339589 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 15941  bytes 2813320 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9962  bytes 1869513 (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 5877  bytes 1359203 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5877  bytes 1359203 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 16094  bytes 2837367 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10035  bytes 1880452 (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 5880  bytes 1359359 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5880  bytes 1359359 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 16217  bytes 2861253 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10155  bytes 1899711 (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 5998  bytes 1379233 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5998  bytes 1379233 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 16309  bytes 2878240 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10205  bytes 1906805 (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 5999  bytes 1379293 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5999  bytes 1379293 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 16469  bytes 2908778 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10338  bytes 1928946 (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 6105  bytes 1398375 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6105  bytes 1398375 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 16555  bytes 2923580 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10398  bytes 1936958 (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 6105  bytes 1398375 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6105  bytes 1398375 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 16750  bytes 2955589 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10510  bytes 1955500 (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 6213  bytes 1417601 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6213  bytes 1417601 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 16850  bytes 2971869 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10568  bytes 1963168 (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 6213  bytes 1417601 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6213  bytes 1417601 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 17036  bytes 3003124 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10686  bytes 1982382 (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 6326  bytes 1437187 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6326  bytes 1437187 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 17321  bytes 3038971 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10762  bytes 1991908 (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 6326  bytes 1437187 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6326  bytes 1437187 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 17488  bytes 3069680 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10874  bytes 2010430 (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 6440  bytes 1456845 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6440  bytes 1456845 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 17677  bytes 3106614 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10952  bytes 2021837 (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 6446  bytes 1457173 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6446  bytes 1457173 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 17813  bytes 3132159 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11063  bytes 2040205 (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 6553  bytes 1476327 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6553  bytes 1476327 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 17945  bytes 3152553 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11126  bytes 2048721 (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 6553  bytes 1476327 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6553  bytes 1476327 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 18119  bytes 3181572 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11250  bytes 2068257 (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 6671  bytes 1496213 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6671  bytes 1496213 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 18249  bytes 3200647 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11301  bytes 2075508 (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 6673  bytes 1496333 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6673  bytes 1496333 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 18471  bytes 3238035 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11443  bytes 2098637 (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 6783  bytes 1515703 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6783  bytes 1515703 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 18637  bytes 3261878 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11492  bytes 2105713 (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 6783  bytes 1515703 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6783  bytes 1515703 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 18816  bytes 3290587 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11611  bytes 2124899 (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 6895  bytes 1535217 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6895  bytes 1535217 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 18955  bytes 3316034 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11666  bytes 2132400 (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 6895  bytes 1535217 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6895  bytes 1535217 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 19097  bytes 3341619 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11781  bytes 2151153 (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 7009  bytes 1554875 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7009  bytes 1554875 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 19245  bytes 3365173 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11858  bytes 2162432 (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 7015  bytes 1555203 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7015  bytes 1555203 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 19395  bytes 3390652 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11981  bytes 2181866 (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 7129  bytes 1574861 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7129  bytes 1574861 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 19519  bytes 3409195 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12034  bytes 2189206 (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 7129  bytes 1574861 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7129  bytes 1574861 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 19675  bytes 3436635 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12137  bytes 2207098 (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 7242  bytes 1594447 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7242  bytes 1594447 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 19829  bytes 3459696 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12195  bytes 2214853 (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 7242  bytes 1594447 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7242  bytes 1594447 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 20014  bytes 3495375 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12300  bytes 2232837 (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 7354  bytes 1613913 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7354  bytes 1613913 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 20137  bytes 3514449 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12362  bytes 2240977 (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 7357  bytes 1614093 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7357  bytes 1614093 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 20330  bytes 3547626 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12498  bytes 2263308 (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 7470  bytes 1633679 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7470  bytes 1633679 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 20437  bytes 3563553 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12556  bytes 2271050 (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 7470  bytes 1633679 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7470  bytes 1633679 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 20610  bytes 3592707 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12672  bytes 2290024 (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 7584  bytes 1653337 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7584  bytes 1653337 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 20736  bytes 3613655 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12755  bytes 2301944 (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 7590  bytes 1653665 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7590  bytes 1653665 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 20906  bytes 3642264 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12866  bytes 2320392 (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 7699  bytes 1672963 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7699  bytes 1672963 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 21038  bytes 3664897 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12919  bytes 2327790 (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 7699  bytes 1672963 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7699  bytes 1672963 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 21207  bytes 3695149 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13033  bytes 2346420 (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 7809  bytes 1692333 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7809  bytes 1692333 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 21326  bytes 3712695 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13086  bytes 2353968 (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 7809  bytes 1692333 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7809  bytes 1692333 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 21503  bytes 3743261 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13201  bytes 2372710 (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 7920  bytes 1711775 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7920  bytes 1711775 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 21646  bytes 3769413 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13250  bytes 2379784 (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 7920  bytes 1711775 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7920  bytes 1711775 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 21839  bytes 3806338 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13377  bytes 2399560 (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 8039  bytes 1731769 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8039  bytes 1731769 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 21967  bytes 3825338 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13430  bytes 2406945 (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 8043  bytes 1732009 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8043  bytes 1732009 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 22117  bytes 3852469 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13547  bytes 2425773 (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 8153  bytes 1751367 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8153  bytes 1751367 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 22306  bytes 3880958 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13629  bytes 2437579 (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 8156  bytes 1751539 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8156  bytes 1751539 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 22522  bytes 3917784 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13769  bytes 2460424 (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 8269  bytes 1771065 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8269  bytes 1771065 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 22624  bytes 3933980 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13820  bytes 2467647 (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 8269  bytes 1771065 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8269  bytes 1771065 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 22782  bytes 3961613 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13936  bytes 2486612 (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 8381  bytes 1790579 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8381  bytes 1790579 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 22916  bytes 3980680 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13997  bytes 2494765 (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 8381  bytes 1790579 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8381  bytes 1790579 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 23078  bytes 4008887 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14103  bytes 2512849 (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 8491  bytes 1809949 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8491  bytes 1809949 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 23176  bytes 4024685 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14159  bytes 2520428 (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 8491  bytes 1809949 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8491  bytes 1809949 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 23316  bytes 4050559 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14273  bytes 2539250 (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 8603  bytes 1829463 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8603  bytes 1829463 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 23452  bytes 4069916 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14337  bytes 2547584 (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 8603  bytes 1829463 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8603  bytes 1829463 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 23571  bytes 4093419 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14446  bytes 2565856 (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 8712  bytes 1848761 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8712  bytes 1848761 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 23689  bytes 4111926 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14501  bytes 2573362 (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 8718  bytes 1849121 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8718  bytes 1849121 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 23869  bytes 4150433 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14644  bytes 2596513 (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 8833  bytes 1868735 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8833  bytes 1868735 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 24012  bytes 4173834 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14725  bytes 2608232 (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 8833  bytes 1868735 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8833  bytes 1868735 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 24223  bytes 4212222 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14837  bytes 2626702 (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 8940  bytes 1887889 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8940  bytes 1887889 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 24387  bytes 4235325 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14890  bytes 2634210 (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 8940  bytes 1887889 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8940  bytes 1887889 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 24540  bytes 4261489 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15010  bytes 2653474 (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 9047  bytes 1907043 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9047  bytes 1907043 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 24618  bytes 4276120 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15058  bytes 2660464 (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 9047  bytes 1907043 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9047  bytes 1907043 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 24752  bytes 4301334 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15171  bytes 2679029 (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 9156  bytes 1926341 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9156  bytes 1926341 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 24859  bytes 4319102 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15230  bytes 2686991 (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 9156  bytes 1926341 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9156  bytes 1926341 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 25006  bytes 4345793 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15349  bytes 2706160 (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 9263  bytes 1945495 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9263  bytes 1945495 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 25262  bytes 4377940 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15405  bytes 2713869 (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 9263  bytes 1945495 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9263  bytes 1945495 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 25502  bytes 4417340 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15556  bytes 2737758 (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 9386  bytes 1965697 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9386  bytes 1965697 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 25611  bytes 4436459 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15607  bytes 2744938 (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 9392  bytes 1966057 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9392  bytes 1966057 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 25754  bytes 4462189 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15718  bytes 2763518 (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 9502  bytes 1985415 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9502  bytes 1985415 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 25930  bytes 4488938 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15803  bytes 2775513 (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 9502  bytes 1985415 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9502  bytes 1985415 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 26068  bytes 4513686 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15912  bytes 2793817 (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 9611  bytes 2004713 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9611  bytes 2004713 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 26168  bytes 4530198 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15974  bytes 2802001 (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 9611  bytes 2004713 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9611  bytes 2004713 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 26306  bytes 4554917 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16083  bytes 2820249 (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 9721  bytes 2024083 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9721  bytes 2024083 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 26407  bytes 4572119 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16144  bytes 2828237 (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 9721  bytes 2024083 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9721  bytes 2024083 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 26538  bytes 4597676 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16254  bytes 2846571 (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 9830  bytes 2043381 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9830  bytes 2043381 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 26643  bytes 4614229 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16310  bytes 2854163 (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 9830  bytes 2043381 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9830  bytes 2043381 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 26809  bytes 4644306 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16450  bytes 2877040 (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 9948  bytes 2063223 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9948  bytes 2063223 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 26882  bytes 4657769 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16503  bytes 2884441 (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 9948  bytes 2063223 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9948  bytes 2063223 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 27011  bytes 4682476 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16617  bytes 2903059 (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 10060  bytes 2082737 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10060  bytes 2082737 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 27174  bytes 4705872 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16671  bytes 2910653 (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 10065  bytes 2083037 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10065  bytes 2083037 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 27383  bytes 4740847 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16785  bytes 2929397 (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 10176  bytes 2102455 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10176  bytes 2102455 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 27608  bytes 4772314 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16865  bytes 2941059 (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 10176  bytes 2102455 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10176  bytes 2102455 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 27981  bytes 4823517 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16991  bytes 2961167 (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 10290  bytes 2122113 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10290  bytes 2122113 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 28214  bytes 4854831 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17050  bytes 2969073 (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 10290  bytes 2122113 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10290  bytes 2122113 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 28389  bytes 4885919 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17162  bytes 2987613 (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 10397  bytes 2141267 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10397  bytes 2141267 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 28528  bytes 4908090 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17219  bytes 2995368 (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 10397  bytes 2141267 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10397  bytes 2141267 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 28693  bytes 4937259 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17332  bytes 3014165 (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 10514  bytes 2161149 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10514  bytes 2161149 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 28849  bytes 4963069 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17408  bytes 3025310 (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 10517  bytes 2161305 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10517  bytes 2161305 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 29025  bytes 4993268 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17523  bytes 3044190 (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 10627  bytes 2180675 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10627  bytes 2180675 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 29149  bytes 5013902 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17578  bytes 3051728 (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 10627  bytes 2180675 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10627  bytes 2180675 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 29371  bytes 5049754 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17691  bytes 3070420 (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 10741  bytes 2200333 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10741  bytes 2200333 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 29551  bytes 5075646 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17752  bytes 3078518 (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 10745  bytes 2200573 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10745  bytes 2200573 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 29720  bytes 5105188 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17863  bytes 3096970 (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 10866  bytes 2220699 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10866  bytes 2220699 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 29860  bytes 5127842 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17951  bytes 3109029 (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 10866  bytes 2220699 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10866  bytes 2220699 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 30017  bytes 5156945 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18064  bytes 3127741 (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 10980  bytes 2240357 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10980  bytes 2240357 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 30174  bytes 5180144 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18119  bytes 3135247 (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 10980  bytes 2240357 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10980  bytes 2240357 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 30321  bytes 5207378 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18234  bytes 3153911 (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 11091  bytes 2259799 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11091  bytes 2259799 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 30485  bytes 5234203 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18314  bytes 3165502 (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 11097  bytes 2260127 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11097  bytes 2260127 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 30656  bytes 5265150 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18432  bytes 3184548 (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 11211  bytes 2279785 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11211  bytes 2279785 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 30800  bytes 5288402 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18479  bytes 3191503 (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 11211  bytes 2279785 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11211  bytes 2279785 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 31025  bytes 5325577 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18596  bytes 3210393 (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 11326  bytes 2299515 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11326  bytes 2299515 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 31135  bytes 5343501 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18643  bytes 3217337 (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 11326  bytes 2299515 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11326  bytes 2299515 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 31387  bytes 5383957 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18767  bytes 3236861 (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 11437  bytes 2318957 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11437  bytes 2318957 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 31640  bytes 5427924 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18823  bytes 3244633 (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 11439  bytes 2319077 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11439  bytes 2319077 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 31875  bytes 5470303 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18941  bytes 3263522 (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 11555  bytes 2338831 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11555  bytes 2338831 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 32053  bytes 5500763 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18991  bytes 3270669 (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 11556  bytes 2338891 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11556  bytes 2338891 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 32320  bytes 5542911 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19131  bytes 3293355 (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 11663  bytes 2358045 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11663  bytes 2358045 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 32439  bytes 5562443 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19205  bytes 3304505 (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 11669  bytes 2358373 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11669  bytes 2358373 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 32613  bytes 5595494 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19317  bytes 3323139 (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 11779  bytes 2377743 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11779  bytes 2377743 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 32779  bytes 5625190 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19374  bytes 3330845 (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 11779  bytes 2377743 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11779  bytes 2377743 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 32950  bytes 5653391 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19493  bytes 3350166 (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 11892  bytes 2397329 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11892  bytes 2397329 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 33111  bytes 5677270 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19553  bytes 3358219 (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 11892  bytes 2397329 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11892  bytes 2397329 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 33273  bytes 5704388 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19660  bytes 3376296 (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 12000  bytes 2416555 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12000  bytes 2416555 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 33378  bytes 5721215 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19718  bytes 3384068 (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 12000  bytes 2416555 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12000  bytes 2416555 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 33527  bytes 5749085 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19828  bytes 3402460 (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 12113  bytes 2436141 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12113  bytes 2436141 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 33668  bytes 5774670 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19890  bytes 3410618 (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 12113  bytes 2436141 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12113  bytes 2436141 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 33896  bytes 5809707 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20010  bytes 3429990 (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 12231  bytes 2456015 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12231  bytes 2456015 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 34058  bytes 5833776 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20089  bytes 3441525 (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 12238  bytes 2456403 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12238  bytes 2456403 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 34441  bytes 5885872 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20249  bytes 3466274 (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 12351  bytes 2475989 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12351  bytes 2475989 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 34601  bytes 5913063 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20298  bytes 3473324 (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 12351  bytes 2475989 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12351  bytes 2475989 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 34760  bytes 5940811 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20414  bytes 3492197 (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 12465  bytes 2495647 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12465  bytes 2495647 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 34880  bytes 5959136 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20468  bytes 3499753 (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 12465  bytes 2495647 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12465  bytes 2495647 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 35074  bytes 5990347 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20583  bytes 3518493 (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 12578  bytes 2515233 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12578  bytes 2515233 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 35224  bytes 6010973 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20637  bytes 3525883 (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 12578  bytes 2515233 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12578  bytes 2515233 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 35387  bytes 6040176 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20752  bytes 3544771 (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 12688  bytes 2534603 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12688  bytes 2534603 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 35523  bytes 6059870 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20804  bytes 3552010 (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 12688  bytes 2534603 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12688  bytes 2534603 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 35700  bytes 6089979 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20923  bytes 3571232 (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 12804  bytes 2554405 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12804  bytes 2554405 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 35812  bytes 6108530 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20978  bytes 3578782 (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 12807  bytes 2554577 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12807  bytes 2554577 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 36050  bytes 6152697 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21109  bytes 3600845 (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 12929  bytes 2574679 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12929  bytes 2574679 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 36174  bytes 6171258 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21166  bytes 3608663 (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 12930  bytes 2574739 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12930  bytes 2574739 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 36387  bytes 6212050 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21301  bytes 3631009 (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 13040  bytes 2594109 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13040  bytes 2594109 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 36553  bytes 6241241 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21364  bytes 3639284 (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 13040  bytes 2594109 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13040  bytes 2594109 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 36746  bytes 6277377 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21476  bytes 3657788 (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 13153  bytes 2613695 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13153  bytes 2613695 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 36899  bytes 6302164 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21537  bytes 3665766 (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 13153  bytes 2613695 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13153  bytes 2613695 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 37067  bytes 6335079 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21647  bytes 3684153 (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 13266  bytes 2633281 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13266  bytes 2633281 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 37242  bytes 6362072 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21703  bytes 3691747 (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 13266  bytes 2633281 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13266  bytes 2633281 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 37445  bytes 6399875 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21814  bytes 3710165 (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 13382  bytes 2653083 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13382  bytes 2653083 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 37637  bytes 6425676 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21873  bytes 3718157 (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 13382  bytes 2653083 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13382  bytes 2653083 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 37827  bytes 6457114 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22010  bytes 3740678 (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 13503  bytes 2673133 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13503  bytes 2673133 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 37952  bytes 6475311 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22056  bytes 3747550 (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 13503  bytes 2673133 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13503  bytes 2673133 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 38093  bytes 6500786 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22174  bytes 3766436 (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 13619  bytes 2692875 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13619  bytes 2692875 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 38220  bytes 6523457 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22221  bytes 3773382 (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 13621  bytes 2692995 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13621  bytes 2692995 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 38387  bytes 6554650 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22362  bytes 3796287 (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 13731  bytes 2712365 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13731  bytes 2712365 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 38512  bytes 6573173 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22421  bytes 3804235 (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 13731  bytes 2712365 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13731  bytes 2712365 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 38658  bytes 6598747 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22540  bytes 3823279 (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 13839  bytes 2731591 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13839  bytes 2731591 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 38766  bytes 6616016 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22589  bytes 3830384 (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 13839  bytes 2731591 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13839  bytes 2731591 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 38920  bytes 6642852 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22707  bytes 3849482 (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 13949  bytes 2750977 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13949  bytes 2750977 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 39031  bytes 6659776 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22756  bytes 3856504 (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 13949  bytes 2750977 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13949  bytes 2750977 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 39197  bytes 6691768 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22896  bytes 3879344 (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 14067  bytes 2770819 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14067  bytes 2770819 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 39325  bytes 6713741 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22948  bytes 3886600 (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 14067  bytes 2770819 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14067  bytes 2770819 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 39462  bytes 6739122 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23057  bytes 3904934 (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 14178  bytes 2790261 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14178  bytes 2790261 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 39570  bytes 6756470 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23118  bytes 3913034 (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 14178  bytes 2790261 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14178  bytes 2790261 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 39757  bytes 6792917 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23227  bytes 3931339 (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 14295  bytes 2810087 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14295  bytes 2810087 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 39842  bytes 6807387 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23287  bytes 3939243 (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 14298  bytes 2810267 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14298  bytes 2810267 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 40026  bytes 6839284 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23427  bytes 3962072 (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 14412  bytes 2829925 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14412  bytes 2829925 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 40180  bytes 6861604 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23488  bytes 3970144 (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 14412  bytes 2829925 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14412  bytes 2829925 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 40346  bytes 6889608 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23592  bytes 3988084 (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 14522  bytes 2849295 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14522  bytes 2849295 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 40444  bytes 6905718 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23646  bytes 3995518 (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 14522  bytes 2849295 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14522  bytes 2849295 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 40585  bytes 6933833 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23787  bytes 4018502 (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 14638  bytes 2868993 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14638  bytes 2868993 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 40656  bytes 6946687 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23838  bytes 4025808 (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 14638  bytes 2868993 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14638  bytes 2868993 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 40830  bytes 6981834 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23957  bytes 4044840 (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 14748  bytes 2888363 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14748  bytes 2888363 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 40964  bytes 7002763 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24011  bytes 4052436 (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 14748  bytes 2888363 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14748  bytes 2888363 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 41123  bytes 7036332 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24129  bytes 4071353 (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 14858  bytes 2907733 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14858  bytes 2907733 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 41206  bytes 7050320 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24185  bytes 4078914 (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 14858  bytes 2907733 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14858  bytes 2907733 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 41395  bytes 7112018 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24300  bytes 4097640 (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 14969  bytes 2927163 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14969  bytes 2927163 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 41510  bytes 7143439 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24355  bytes 4105276 (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 14974  bytes 2927463 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14974  bytes 2927463 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 41720  bytes 7194806 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24485  bytes 4125400 (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 15087  bytes 2947037 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15087  bytes 2947037 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 41831  bytes 7214230 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24560  bytes 4136446 (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 15087  bytes 2947037 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15087  bytes 2947037 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 41963  bytes 7238729 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24674  bytes 4155251 (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 15206  bytes 2967011 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15206  bytes 2967011 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 42058  bytes 7256212 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24754  bytes 4166921 (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 15209  bytes 2967167 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15209  bytes 2967167 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 42203  bytes 7281599 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24860  bytes 4184963 (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 15321  bytes 2986681 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15321  bytes 2986681 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 42308  bytes 7298496 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24920  bytes 4193016 (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 15321  bytes 2986681 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15321  bytes 2986681 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 42457  bytes 7324698 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25032  bytes 4211536 (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 15434  bytes 3006267 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15434  bytes 3006267 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 42548  bytes 7339612 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25092  bytes 4219468 (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 15434  bytes 3006267 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15434  bytes 3006267 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 42686  bytes 7364686 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25207  bytes 4238358 (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 15549  bytes 3025997 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15549  bytes 3025997 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 42791  bytes 7381345 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25261  bytes 4245780 (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 15549  bytes 3025997 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15549  bytes 3025997 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 42936  bytes 7407845 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25373  bytes 4264416 (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 15657  bytes 3045223 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15657  bytes 3045223 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 43026  bytes 7422756 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25426  bytes 4271764 (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 15663  bytes 3045583 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15663  bytes 3045583 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 43167  bytes 7448195 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25548  bytes 4291144 (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 15779  bytes 3065373 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15779  bytes 3065373 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 43283  bytes 7470693 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25649  bytes 4306377 (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 15785  bytes 3065701 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15785  bytes 3065701 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 43416  bytes 7495562 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25760  bytes 4324828 (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 15900  bytes 3085431 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15900  bytes 3085431 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 43500  bytes 7510333 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25813  bytes 4332339 (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 15900  bytes 3085431 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15900  bytes 3085431 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 43664  bytes 7538112 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25931  bytes 4351285 (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 16009  bytes 3104729 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16009  bytes 3104729 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 43863  bytes 7562719 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26007  bytes 4360920 (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 16009  bytes 3104729 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16009  bytes 3104729 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 44010  bytes 7588498 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26119  bytes 4379443 (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 16122  bytes 3124315 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16122  bytes 3124315 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 44111  bytes 7604954 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26174  bytes 4387042 (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 16122  bytes 3124315 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16122  bytes 3124315 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 44266  bytes 7631981 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26289  bytes 4405799 (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 16233  bytes 3143757 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16233  bytes 3143757 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 44371  bytes 7648425 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26340  bytes 4412993 (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 16233  bytes 3143757 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16233  bytes 3143757 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 44524  bytes 7675660 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26459  bytes 4432126 (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 16347  bytes 3163415 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16347  bytes 3163415 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 44637  bytes 7695420 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26534  bytes 4443328 (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 16359  bytes 3164103 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16359  bytes 3164103 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 44766  bytes 7719622 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26641  bytes 4461451 (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 16469  bytes 3183461 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16469  bytes 3183461 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 44930  bytes 7744372 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26721  bytes 4472930 (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 16469  bytes 3183461 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16469  bytes 3183461 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 45062  bytes 7768918 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26832  bytes 4491384 (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 16584  bytes 3203191 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16584  bytes 3203191 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 45170  bytes 7785500 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26898  bytes 4499881 (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 16584  bytes 3203191 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16584  bytes 3203191 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 45385  bytes 7818731 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27014  bytes 4518818 (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 16696  bytes 3222705 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16696  bytes 3222705 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 45565  bytes 7842871 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27075  bytes 4526931 (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 16696  bytes 3222705 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16696  bytes 3222705 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 45726  bytes 7871197 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27186  bytes 4545322 (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 16803  bytes 3241859 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16803  bytes 3241859 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 45854  bytes 7890484 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27246  bytes 4553348 (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 16803  bytes 3241859 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16803  bytes 3241859 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 46017  bytes 7917864 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27358  bytes 4572061 (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 16911  bytes 3261085 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16911  bytes 3261085 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 46192  bytes 7943075 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27434  bytes 4583283 (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 16917  bytes 3261413 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16917  bytes 3261413 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 46348  bytes 7970128 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27547  bytes 4601958 (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 17030  bytes 3280999 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17030  bytes 3280999 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 46465  bytes 7987955 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27601  bytes 4609555 (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 17035  bytes 3281299 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17035  bytes 3281299 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 46629  bytes 8016291 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27719  bytes 4628518 (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 17151  bytes 3301077 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17151  bytes 3301077 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 46738  bytes 8035464 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27802  bytes 4640376 (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 17151  bytes 3301077 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17151  bytes 3301077 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 46926  bytes 8066177 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27920  bytes 4659347 (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 17261  bytes 3320447 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17261  bytes 3320447 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 47049  bytes 8085653 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27966  bytes 4666208 (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 17261  bytes 3320447 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17261  bytes 3320447 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 47242  bytes 8116397 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28075  bytes 4684493 (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 17365  bytes 3339385 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17365  bytes 3339385 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 47403  bytes 8137935 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28124  bytes 4691556 (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 17365  bytes 3339385 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17365  bytes 3339385 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 47558  bytes 8164480 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28244  bytes 4710763 (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 17478  bytes 3358971 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17478  bytes 3358971 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 47670  bytes 8181293 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28300  bytes 4718599 (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 17481  bytes 3359143 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17481  bytes 3359143 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 47849  bytes 8212702 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28435  bytes 4740944 (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 17597  bytes 3378885 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17597  bytes 3378885 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 47982  bytes 8232064 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28495  bytes 4749003 (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 17597  bytes 3378885 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17597  bytes 3378885 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 48297  bytes 8305115 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28616  bytes 4768514 (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 17708  bytes 3398327 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17708  bytes 3398327 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 48505  bytes 8335929 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28677  bytes 4776615 (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 17712  bytes 3398567 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17712  bytes 3398567 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 48690  bytes 8368054 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28794  bytes 4795543 (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 17830  bytes 3418477 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17830  bytes 3418477 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 48816  bytes 8388319 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28861  bytes 4805413 (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 17830  bytes 3418477 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17830  bytes 3418477 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 49014  bytes 8423227 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28990  bytes 4825916 (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 17936  bytes 3437559 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17936  bytes 3437559 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 49108  bytes 8438778 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29046  bytes 4833511 (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 17936  bytes 3437559 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17936  bytes 3437559 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 49238  bytes 8464548 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29153  bytes 4851650 (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 18045  bytes 3456857 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18045  bytes 3456857 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 49548  bytes 8509087 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29219  bytes 4860437 (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 18045  bytes 3456857 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18045  bytes 3456857 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 49739  bytes 8542180 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29356  bytes 4883011 (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 18162  bytes 3476627 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18162  bytes 3476627 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 49836  bytes 8557896 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29411  bytes 4890654 (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 18162  bytes 3476627 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18162  bytes 3476627 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 49982  bytes 8583656 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29526  bytes 4909438 (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 18269  bytes 3495781 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18269  bytes 3495781 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 50104  bytes 8602310 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29576  bytes 4916562 (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 18269  bytes 3495781 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18269  bytes 3495781 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 50351  bytes 8646575 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29716  bytes 4937770 (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 18386  bytes 3515655 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18386  bytes 3515655 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 50493  bytes 8670803 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29772  bytes 4945453 (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 18386  bytes 3515655 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18386  bytes 3515655 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 50652  bytes 8699077 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29891  bytes 4964621 (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 18501  bytes 3535313 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18501  bytes 3535313 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 50855  bytes 8730305 (8.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29944  bytes 4971947 (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 18502  bytes 3535373 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18502  bytes 3535373 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 51079  bytes 8773193 (8.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30087  bytes 4995003 (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 18608  bytes 3554455 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18608  bytes 3554455 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 51230  bytes 8800726 (8.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30139  bytes 5002231 (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 18608  bytes 3554455 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18608  bytes 3554455 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 51426  bytes 8839054 (8.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30273  bytes 5024606 (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 18727  bytes 3574369 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18727  bytes 3574369 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 51527  bytes 8855964 (8.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30335  bytes 5032751 (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 18727  bytes 3574369 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18727  bytes 3574369 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 51688  bytes 8884114 (8.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30447  bytes 5051276 (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 18837  bytes 3593739 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18837  bytes 3593739 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 51851  bytes 8914339 (8.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30503  bytes 5058858 (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 18837  bytes 3593739 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18837  bytes 3593739 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 52029  bytes 8943721 (8.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30623  bytes 5078129 (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 18950  bytes 3613325 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18950  bytes 3613325 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 52156  bytes 8964469 (8.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30679  bytes 5085752 (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 18950  bytes 3613325 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18950  bytes 3613325 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 52325  bytes 8994199 (8.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30793  bytes 5104387 (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 19067  bytes 3633199 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19067  bytes 3633199 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 52458  bytes 9015227 (8.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30847  bytes 5111850 (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 19067  bytes 3633199 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19067  bytes 3633199 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 52584  bytes 9039750 (8.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30962  bytes 5130741 (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 19188  bytes 3653289 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19188  bytes 3653289 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 52697  bytes 9057226 (8.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31014  bytes 5138056 (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 19189  bytes 3653349 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19189  bytes 3653349 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 52926  bytes 9102685 (8.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31179  bytes 5164923 (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 19306  bytes 3673119 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19306  bytes 3673119 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 53024  bytes 9118577 (8.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31227  bytes 5171968 (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 19306  bytes 3673119 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19306  bytes 3673119 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 53186  bytes 9146559 (8.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31348  bytes 5191252 (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 19417  bytes 3692561 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19417  bytes 3692561 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 53285  bytes 9162337 (8.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31395  bytes 5198199 (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 19417  bytes 3692561 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19417  bytes 3692561 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 53457  bytes 9191703 (8.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31516  bytes 5217386 (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 19531  bytes 3712219 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19531  bytes 3712219 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 53567  bytes 9210201 (8.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31564  bytes 5224419 (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 19531  bytes 3712219 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19531  bytes 3712219 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 53731  bytes 9237820 (8.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31682  bytes 5243438 (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 19643  bytes 3731733 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19643  bytes 3731733 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 53841  bytes 9254881 (8.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31732  bytes 5250587 (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 19643  bytes 3731733 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19643  bytes 3731733 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 53987  bytes 9281845 (8.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31848  bytes 5269446 (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 19752  bytes 3751031 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19752  bytes 3751031 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 54084  bytes 9298113 (8.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31901  bytes 5276884 (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 19752  bytes 3751031 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19752  bytes 3751031 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 54309  bytes 9338223 (8.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32017  bytes 5295715 (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 19872  bytes 3771005 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19872  bytes 3771005 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 54455  bytes 9362359 (8.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32093  bytes 5306918 (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 19876  bytes 3771221 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19876  bytes 3771221 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 54648  bytes 9396962 (8.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32230  bytes 5329398 (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 19993  bytes 3791095 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19993  bytes 3791095 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 54788  bytes 9417469 (8.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32291  bytes 5337498 (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 19993  bytes 3791095 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19993  bytes 3791095 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 54982  bytes 9448250 (9.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32405  bytes 5356164 (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 20108  bytes 3810825 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20108  bytes 3810825 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 55119  bytes 9474887 (9.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32461  bytes 5363747 (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 20108  bytes 3810825 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20108  bytes 3810825 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 55270  bytes 9501244 (9.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32569  bytes 5381944 (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 20218  bytes 3830195 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20218  bytes 3830195 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 55399  bytes 9520725 (9.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32624  bytes 5389453 (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 20218  bytes 3830195 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20218  bytes 3830195 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 55550  bytes 9547233 (9.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32737  bytes 5408212 (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 20329  bytes 3849637 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20329  bytes 3849637 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 55661  bytes 9565155 (9.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32791  bytes 5415647 (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 20329  bytes 3849637 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20329  bytes 3849637 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 55806  bytes 9591638 (9.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32900  bytes 5433966 (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 20449  bytes 3869727 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20449  bytes 3869727 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 55946  bytes 9616812 (9.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32974  bytes 5445074 (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 20455  bytes 3870055 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20455  bytes 3870055 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 56111  bytes 9645074 (9.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33093  bytes 5464315 (5.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 20572  bytes 3889869 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20572  bytes 3889869 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 56206  bytes 9660527 (9.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33142  bytes 5471394 (5.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 20574  bytes 3889989 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20574  bytes 3889989 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 56381  bytes 9691419 (9.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33293  bytes 5495066 (5.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 20685  bytes 3909431 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20685  bytes 3909431 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 56534  bytes 9713857 (9.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33342  bytes 5502145 (5.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 20685  bytes 3909431 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20685  bytes 3909431 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 56712  bytes 9743040 (9.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33458  bytes 5520928 (5.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 20798  bytes 3929017 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20798  bytes 3929017 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 56832  bytes 9764083 (9.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33513  bytes 5528595 (5.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 20798  bytes 3929017 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20798  bytes 3929017 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 56986  bytes 9791844 (9.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33630  bytes 5547488 (5.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 20909  bytes 3948459 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20909  bytes 3948459 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 57159  bytes 9815651 (9.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33703  bytes 5557054 (5.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 20909  bytes 3948459 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20909  bytes 3948459 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 57330  bytes 9845048 (9.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33829  bytes 5576801 (5.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 21024  bytes 3968189 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21024  bytes 3968189 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 57483  bytes 9868060 (9.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33909  bytes 5588392 (5.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 21030  bytes 3968517 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21030  bytes 3968517 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 57628  bytes 9894455 (9.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34022  bytes 5606942 (5.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 21139  bytes 3987815 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21139  bytes 3987815 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 57729  bytes 9910740 (9.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34083  bytes 5615039 (5.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 21139  bytes 3987815 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21139  bytes 3987815 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 57886  bytes 9937613 (9.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34196  bytes 5633608 (5.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 21253  bytes 4007425 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21253  bytes 4007425 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 58183  bytes 9975529 (9.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34261  bytes 5642180 (5.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 21256  bytes 4007605 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21256  bytes 4007605 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 58447  bytes 10015206 (9.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34385  bytes 5661952 (5.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 21369  bytes 4027191 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21369  bytes 4027191 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 58578  bytes 10036830 (9.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34464  bytes 5673374 (5.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 21369  bytes 4027191 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21369  bytes 4027191 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 58708  bytes 10061449 (9.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34576  bytes 5691807 (5.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 21477  bytes 4046417 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21477  bytes 4046417 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 58868  bytes 10084682 (9.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34633  bytes 5699628 (5.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 21477  bytes 4046417 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21477  bytes 4046417 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 58998  bytes 10108596 (9.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34744  bytes 5718079 (5.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 21588  bytes 4065859 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21588  bytes 4065859 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 59126  bytes 10129508 (9.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34819  bytes 5729273 (5.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 21594  bytes 4066187 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21594  bytes 4066187 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 59365  bytes 10171697 (9.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34945  bytes 5749115 (5.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 21705  bytes 4085629 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21705  bytes 4085629 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 59536  bytes 10195412 (9.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34994  bytes 5756152 (5.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 21705  bytes 4085629 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21705  bytes 4085629 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 59678  bytes 10222671 (9.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35118  bytes 5775768 (5.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 21818  bytes 4105215 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21818  bytes 4105215 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 59787  bytes 10239719 (9.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35168  bytes 5782892 (5.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 21818  bytes 4105215 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21818  bytes 4105215 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 59914  bytes 10264351 (9.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35290  bytes 5802290 (5.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 21929  bytes 4124657 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21929  bytes 4124657 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 60009  bytes 10280539 (9.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35340  bytes 5809398 (5.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 21935  bytes 4125017 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21935  bytes 4125017 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 60152  bytes 10312213 (9.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35452  bytes 5827916 (5.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 22046  bytes 4144447 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22046  bytes 4144447 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 60276  bytes 10333158 (9.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35532  bytes 5839481 (5.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 22046  bytes 4144447 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22046  bytes 4144447 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 60391  bytes 10356676 (9.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35644  bytes 5858047 (5.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 22159  bytes 4164033 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22159  bytes 4164033 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 60478  bytes 10371523 (9.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35703  bytes 5866045 (5.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 22162  bytes 4164205 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22162  bytes 4164205 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 60617  bytes 10399517 (9.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35838  bytes 5888367 (5.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 22275  bytes 4183731 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22275  bytes 4183731 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 60703  bytes 10414866 (9.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35899  bytes 5896508 (5.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 22275  bytes 4183731 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22275  bytes 4183731 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 60829  bytes 10438964 (9.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36016  bytes 5915369 (5.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 22388  bytes 4203317 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22388  bytes 4203317 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 60919  bytes 10455091 (9.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36071  bytes 5922906 (5.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 22388  bytes 4203317 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22388  bytes 4203317 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 61070  bytes 10482473 (9.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36185  bytes 5941707 (5.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 22501  bytes 4222903 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22501  bytes 4222903 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 61169  bytes 10498879 (10.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36241  bytes 5949342 (5.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 22501  bytes 4222903 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22501  bytes 4222903 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 61294  bytes 10522515 (10.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36354  bytes 5967856 (5.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 22615  bytes 4242561 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22615  bytes 4242561 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 61386  bytes 10539178 (10.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36406  bytes 5975159 (5.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 22621  bytes 4242921 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22621  bytes 4242921 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 61517  bytes 10563916 (10.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36523  bytes 5994169 (5.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 22737  bytes 4262711 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22737  bytes 4262711 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 61617  bytes 10583461 (10.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36599  bytes 6005519 (5.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 22737  bytes 4262711 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22737  bytes 4262711 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 61781  bytes 10618982 (10.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36743  bytes 6028577 (5.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 22854  bytes 4282481 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22854  bytes 4282481 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 61879  bytes 10634804 (10.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36789  bytes 6035438 (5.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 22854  bytes 4282481 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22854  bytes 4282481 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 62006  bytes 10659174 (10.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36911  bytes 6054667 (5.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 22962  bytes 4301707 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22962  bytes 4301707 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 62100  bytes 10679587 (10.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36963  bytes 6062132 (5.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 22962  bytes 4301707 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22962  bytes 4301707 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 62253  bytes 10711277 (10.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37079  bytes 6080931 (5.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 23072  bytes 4321077 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23072  bytes 4321077 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 62313  bytes 10723419 (10.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37131  bytes 6088396 (5.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 23072  bytes 4321077 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23072  bytes 4321077 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 62450  bytes 10753838 (10.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37248  bytes 6107321 (5.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 23184  bytes 4340591 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23184  bytes 4340591 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 62512  bytes 10766018 (10.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37298  bytes 6114469 (5.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 23184  bytes 4340591 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23184  bytes 4340591 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 62645  bytes 10792045 (10.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37415  bytes 6133542 (5.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 23296  bytes 4360105 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23296  bytes 4360105 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 62721  bytes 10805724 (10.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37466  bytes 6140758 (5.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 23302  bytes 4360465 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23302  bytes 4360465 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 62892  bytes 10842278 (10.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37600  bytes 6163151 (5.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 23424  bytes 4380583 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23424  bytes 4380583 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 62982  bytes 10860040 (10.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37681  bytes 6174718 (5.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 23424  bytes 4380583 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23424  bytes 4380583 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 63129  bytes 10887002 (10.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37795  bytes 6193422 (5.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 23535  bytes 4400025 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23535  bytes 4400025 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 63230  bytes 10902907 (10.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37856  bytes 6201523 (5.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 23535  bytes 4400025 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23535  bytes 4400025 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 63344  bytes 10925738 (10.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37964  bytes 6219709 (5.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 23645  bytes 4419395 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23645  bytes 4419395 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 63459  bytes 10942484 (10.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38020  bytes 6227265 (5.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 23645  bytes 4419395 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23645  bytes 4419395 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 63589  bytes 10966976 (10.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38130  bytes 6245623 (5.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 23754  bytes 4438693 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23754  bytes 4438693 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 63680  bytes 10981315 (10.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38190  bytes 6253623 (5.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 23754  bytes 4438693 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23754  bytes 4438693 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 63820  bytes 11007612 (10.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38306  bytes 6272544 (5.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 23862  bytes 4457919 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23862  bytes 4457919 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 63884  bytes 11020067 (10.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38359  bytes 6279922 (5.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 23862  bytes 4457919 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23862  bytes 4457919 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 64011  bytes 11046360 (10.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38496  bytes 6302469 (6.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 23979  bytes 4477689 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23979  bytes 4477689 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 64079  bytes 11058888 (10.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38545  bytes 6309548 (6.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 23984  bytes 4477989 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23984  bytes 4477989 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 64227  bytes 11083811 (10.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38676  bytes 6329640 (6.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 24100  bytes 4497767 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24100  bytes 4497767 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 64350  bytes 11102794 (10.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38750  bytes 6340619 (6.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 24100  bytes 4497767 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24100  bytes 4497767 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 64479  bytes 11126522 (10.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38865  bytes 6359357 (6.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 24213  bytes 4517353 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24213  bytes 4517353 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 64533  bytes 11138177 (10.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38914  bytes 6366437 (6.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 24213  bytes 4517353 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24213  bytes 4517353 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 64641  bytes 11160267 (10.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39030  bytes 6385277 (6.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 24328  bytes 4537083 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24328  bytes 4537083 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 64706  bytes 11172722 (10.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39086  bytes 6392991 (6.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 24328  bytes 4537083 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24328  bytes 4537083 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 64832  bytes 11195983 (10.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39203  bytes 6411909 (6.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 24442  bytes 4556741 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24442  bytes 4556741 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 64908  bytes 11208958 (10.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39253  bytes 6419051 (6.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 24442  bytes 4556741 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24442  bytes 4556741 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 65019  bytes 11231621 (10.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39364  bytes 6437523 (6.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 24557  bytes 4576427 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24557  bytes 4576427 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 65118  bytes 11249791 (10.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39451  bytes 6449675 (6.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 24560  bytes 4576583 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24560  bytes 4576583 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 65262  bytes 11276442 (10.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39575  bytes 6469339 (6.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 24670  bytes 4595953 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24670  bytes 4595953 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 65366  bytes 11311251 (10.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39630  bytes 6476877 (6.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 24674  bytes 4596193 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24674  bytes 4596193 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 65502  bytes 11358564 (10.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39749  bytes 6495993 (6.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 24790  bytes 4615959 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24790  bytes 4615959 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 65573  bytes 11371651 (10.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39803  bytes 6503456 (6.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 24790  bytes 4615959 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24790  bytes 4615959 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 65701  bytes 11403929 (10.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39941  bytes 6526122 (6.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 24901  bytes 4635401 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24901  bytes 4635401 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 65765  bytes 11416435 (10.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39996  bytes 6533671 (6.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 24901  bytes 4635401 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24901  bytes 4635401 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 65877  bytes 11439095 (10.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40113  bytes 6552719 (6.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 25014  bytes 4654987 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25014  bytes 4654987 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 65944  bytes 11451632 (10.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40167  bytes 6560211 (6.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 25014  bytes 4654987 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25014  bytes 4654987 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 66056  bytes 11473935 (10.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40275  bytes 6578427 (6.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 25127  bytes 4674573 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25127  bytes 4674573 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 66144  bytes 11490803 (10.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40348  bytes 6589440 (6.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 25133  bytes 4674901 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25133  bytes 4674901 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 66274  bytes 11514831 (10.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40471  bytes 6608827 (6.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 25246  bytes 4694487 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25246  bytes 4694487 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 66335  bytes 11527269 (10.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40520  bytes 6615906 (6.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 25246  bytes 4694487 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25246  bytes 4694487 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 66463  bytes 11551614 (11.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40639  bytes 6635143 (6.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 25356  bytes 4713857 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25356  bytes 4713857 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 66529  bytes 11563998 (11.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40687  bytes 6642136 (6.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 25356  bytes 4713857 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25356  bytes 4713857 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 66650  bytes 11586993 (11.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40807  bytes 6661279 (6.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 25477  bytes 4733947 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25477  bytes 4733947 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 66721  bytes 11599898 (11.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40863  bytes 6668992 (6.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 25478  bytes 4734007 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25478  bytes 4734007 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 66853  bytes 11626542 (11.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41000  bytes 6691494 (6.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 25591  bytes 4753593 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25591  bytes 4753593 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 66926  bytes 11639479 (11.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41057  bytes 6699281 (6.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 25591  bytes 4753593 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25591  bytes 4753593 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 67034  bytes 11661522 (11.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41162  bytes 6717317 (6.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 25703  bytes 4773107 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25703  bytes 4773107 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 67121  bytes 11678393 (11.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41245  bytes 6729170 (6.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 25709  bytes 4773435 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25709  bytes 4773435 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 67250  bytes 11702032 (11.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41362  bytes 6748084 (6.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 25825  bytes 4793237 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25825  bytes 4793237 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 67323  bytes 11714928 (11.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41418  bytes 6755708 (6.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 25825  bytes 4793237 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25825  bytes 4793237 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 67438  bytes 11738139 (11.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41529  bytes 6774240 (6.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 25931  bytes 4812319 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25931  bytes 4812319 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 67504  bytes 11750615 (11.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41583  bytes 6781704 (6.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 25931  bytes 4812319 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25931  bytes 4812319 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 67621  bytes 11773709 (11.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41693  bytes 6800197 (6.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 26041  bytes 4831689 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26041  bytes 4831689 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 67682  bytes 11785987 (11.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41746  bytes 6807575 (6.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 26041  bytes 4831689 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26041  bytes 4831689 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 67797  bytes 11808482 (11.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41860  bytes 6826176 (6.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 26158  bytes 4851491 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26158  bytes 4851491 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 67863  bytes 11821163 (11.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41917  bytes 6834054 (6.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 26159  bytes 4851551 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26159  bytes 4851551 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 67991  bytes 11847629 (11.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42055  bytes 6856556 (6.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 26273  bytes 4871209 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26273  bytes 4871209 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 68082  bytes 11864732 (11.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42130  bytes 6867799 (6.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 26279  bytes 4871537 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26279  bytes 4871537 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 68211  bytes 11888450 (11.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42250  bytes 6886976 (6.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 26393  bytes 4891195 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26393  bytes 4891195 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 68277  bytes 11900996 (11.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42305  bytes 6894619 (6.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 26393  bytes 4891195 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26393  bytes 4891195 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 68386  bytes 11923561 (11.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42424  bytes 6913685 (6.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 26507  bytes 4910853 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26507  bytes 4910853 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 68451  bytes 11935883 (11.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42472  bytes 6920679 (6.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 26507  bytes 4910853 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26507  bytes 4910853 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 68563  bytes 11958663 (11.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42590  bytes 6939803 (6.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 26613  bytes 4929935 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26613  bytes 4929935 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 68633  bytes 11971272 (11.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42640  bytes 6946913 (6.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 26613  bytes 4929935 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26613  bytes 4929935 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 68734  bytes 11992946 (11.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42756  bytes 6965789 (6.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 26726  bytes 4949521 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26726  bytes 4949521 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 68812  bytes 12006233 (11.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42809  bytes 6973105 (6.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 26726  bytes 4949521 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26726  bytes 4949521 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 68939  bytes 12031060 (11.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42918  bytes 6991569 (6.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 26843  bytes 4969323 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26843  bytes 4969323 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 69029  bytes 12045975 (11.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42982  bytes 6999941 (6.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 26847  bytes 4969555 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26847  bytes 4969555 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 69193  bytes 12078540 (11.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43150  bytes 7026909 (6.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 26963  bytes 4989297 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26963  bytes 4989297 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 69280  bytes 12093367 (11.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43212  bytes 7035057 (6.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 26963  bytes 4989297 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26963  bytes 4989297 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 69398  bytes 12116889 (11.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43327  bytes 7053949 (6.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 27070  bytes 5008451 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27070  bytes 5008451 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 69473  bytes 12130774 (11.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43383  bytes 7061492 (6.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 27070  bytes 5008451 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27070  bytes 5008451 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 69584  bytes 12153105 (11.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43494  bytes 7079944 (6.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 27183  bytes 5028037 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27183  bytes 5028037 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 69657  bytes 12166231 (11.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43550  bytes 7087500 (6.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 27183  bytes 5028037 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27183  bytes 5028037 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 69766  bytes 12188918 (11.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43663  bytes 7106263 (6.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 27295  bytes 5047551 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27295  bytes 5047551 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 69826  bytes 12201350 (11.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43718  bytes 7113745 (6.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 27295  bytes 5047551 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27295  bytes 5047551 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 69919  bytes 12222451 (11.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43831  bytes 7132328 (6.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 27405  bytes 5066921 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27405  bytes 5066921 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 69979  bytes 12234584 (11.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43885  bytes 7139898 (6.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 27405  bytes 5066921 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27405  bytes 5066921 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 70153  bytes 12265828 (11.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44034  bytes 7163592 (6.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 27529  bytes 5087135 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27529  bytes 5087135 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 70212  bytes 12277808 (11.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44083  bytes 7170672 (6.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 27531  bytes 5087255 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27531  bytes 5087255 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 70338  bytes 12304343 (11.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44233  bytes 7194213 (6.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 27640  bytes 5106553 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27640  bytes 5106553 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 70398  bytes 12316425 (11.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44280  bytes 7201160 (6.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 27640  bytes 5106553 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27640  bytes 5106553 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 70495  bytes 12337937 (11.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44397  bytes 7219974 (6.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 27750  bytes 5125923 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27750  bytes 5125923 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 70547  bytes 12349593 (11.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44452  bytes 7227642 (6.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 27750  bytes 5125923 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27750  bytes 5125923 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 70651  bytes 12371473 (11.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44563  bytes 7246064 (6.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 27863  bytes 5145509 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27863  bytes 5145509 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 70716  bytes 12383747 (11.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44612  bytes 7253116 (6.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 27863  bytes 5145509 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27863  bytes 5145509 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 70822  bytes 12405815 (11.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44730  bytes 7272232 (6.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 27972  bytes 5164807 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27972  bytes 5164807 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 70876  bytes 12417843 (11.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44782  bytes 7279562 (6.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 27972  bytes 5164807 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27972  bytes 5164807 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71009  bytes 12444829 (11.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44924  bytes 7302513 (6.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 28092  bytes 5184793 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28092  bytes 5184793 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71080  bytes 12457532 (11.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44978  bytes 7309965 (6.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 28092  bytes 5184793 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28092  bytes 5184793 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71193  bytes 12480008 (11.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45089  bytes 7328537 (6.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 28204  bytes 5204259 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28204  bytes 5204259 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71259  bytes 12492411 (11.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45146  bytes 7336207 (6.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 28207  bytes 5204439 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28207  bytes 5204439 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71358  bytes 12513926 (11.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45253  bytes 7354355 (7.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 28321  bytes 5224097 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28321  bytes 5224097 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71432  bytes 12529979 (11.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45339  bytes 7366407 (7.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 28321  bytes 5224097 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28321  bytes 5224097 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71533  bytes 12551491 (11.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45452  bytes 7384943 (7.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 28433  bytes 5243611 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28433  bytes 5243611 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71596  bytes 12563762 (11.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45507  bytes 7392465 (7.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 28433  bytes 5243611 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28433  bytes 5243611 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71696  bytes 12585430 (12.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45625  bytes 7411542 (7.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 28550  bytes 5263485 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28550  bytes 5263485 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71758  bytes 12597520 (12.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45672  bytes 7418417 (7.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 28550  bytes 5263485 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28550  bytes 5263485 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71888  bytes 12624244 (12.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45817  bytes 7441595 (7.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 28671  bytes 5283543 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28671  bytes 5283543 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 71949  bytes 12636710 (12.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45866  bytes 7448678 (7.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 28671  bytes 5283543 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28671  bytes 5283543 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72051  bytes 12658610 (12.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45989  bytes 7468175 (7.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 28784  bytes 5303129 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28784  bytes 5303129 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72118  bytes 12671104 (12.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46038  bytes 7475294 (7.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 28784  bytes 5303129 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28784  bytes 5303129 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72212  bytes 12692419 (12.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46157  bytes 7494463 (7.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 28892  bytes 5322355 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28892  bytes 5322355 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72274  bytes 12704649 (12.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46206  bytes 7501570 (7.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 28898  bytes 5322715 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28898  bytes 5322715 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72371  bytes 12726234 (12.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46331  bytes 7521135 (7.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 29006  bytes 5341929 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29006  bytes 5341929 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72445  bytes 12742079 (12.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46405  bytes 7532181 (7.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 29006  bytes 5341929 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29006  bytes 5341929 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72557  bytes 12764399 (12.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46516  bytes 7550639 (7.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 29114  bytes 5361155 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29114  bytes 5361155 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72612  bytes 12776094 (12.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46567  bytes 7557855 (7.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 29114  bytes 5361155 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29114  bytes 5361155 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72727  bytes 12798757 (12.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46684  bytes 7576748 (7.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 29226  bytes 5380625 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29226  bytes 5380625 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72815  bytes 12815873 (12.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46761  bytes 7588037 (7.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 29229  bytes 5380781 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29229  bytes 5380781 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72910  bytes 12837168 (12.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46872  bytes 7606589 (7.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 29339  bytes 5400151 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29339  bytes 5400151 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 72967  bytes 12849635 (12.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46933  bytes 7614734 (7.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 29339  bytes 5400151 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29339  bytes 5400151 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73074  bytes 12871686 (12.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47043  bytes 7633083 (7.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 29455  bytes 5419953 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29455  bytes 5419953 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73139  bytes 12884085 (12.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47098  bytes 7640593 (7.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 29455  bytes 5419953 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29455  bytes 5419953 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73233  bytes 12905333 (12.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47207  bytes 7658885 (7.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 29569  bytes 5439611 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29569  bytes 5439611 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73299  bytes 12917760 (12.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47261  bytes 7666320 (7.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 29575  bytes 5439971 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29575  bytes 5439971 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73397  bytes 12939205 (12.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47372  bytes 7684835 (7.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 29686  bytes 5459401 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29686  bytes 5459401 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73475  bytes 12955367 (12.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47448  bytes 7696042 (7.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 29686  bytes 5459401 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29686  bytes 5459401 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73595  bytes 12978432 (12.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47565  bytes 7714970 (7.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 29795  bytes 5478699 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29795  bytes 5478699 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73675  bytes 12994835 (12.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47641  bytes 7726234 (7.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 29802  bytes 5479079 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29802  bytes 5479079 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73774  bytes 13016573 (12.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47761  bytes 7745482 (7.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 29909  bytes 5498233 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29909  bytes 5498233 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73827  bytes 13028096 (12.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47808  bytes 7752390 (7.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 29909  bytes 5498233 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29909  bytes 5498233 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73921  bytes 13049391 (12.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47922  bytes 7771082 (7.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 30020  bytes 5517675 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30020  bytes 5517675 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 73983  bytes 13061887 (12.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47971  bytes 7778150 (7.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 30020  bytes 5517675 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30020  bytes 5517675 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 74083  bytes 13083474 (12.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48084  bytes 7796744 (7.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 30129  bytes 5536973 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30129  bytes 5536973 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 74147  bytes 13095801 (12.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48137  bytes 7804244 (7.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 30129  bytes 5536973 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30129  bytes 5536973 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 74263  bytes 13118678 (12.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48248  bytes 7822738 (7.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 30241  bytes 5556487 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30241  bytes 5556487 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 74319  bytes 13130432 (12.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48299  bytes 7829954 (7.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 30247  bytes 5556847 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30247  bytes 5556847 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 74437  bytes 13153459 (12.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48415  bytes 7848990 (7.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 30362  bytes 5576565 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30362  bytes 5576565 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 74542  bytes 13174460 (12.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48519  bytes 7864437 (7.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 30368  bytes 5576893 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30368  bytes 5576893 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 74635  bytes 13195552 (12.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48630  bytes 7882829 (7.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 30483  bytes 5596615 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30483  bytes 5596615 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 74695  bytes 13207761 (12.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48693  bytes 7891059 (7.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 30483  bytes 5596615 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30483  bytes 5596615 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 74802  bytes 13229739 (12.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48800  bytes 7909175 (7.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 30590  bytes 5615769 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30590  bytes 5615769 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 74857  bytes 13241516 (12.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48856  bytes 7916774 (7.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 30590  bytes 5615769 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30590  bytes 5615769 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 74953  bytes 13262913 (12.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48967  bytes 7935178 (7.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 30701  bytes 5635211 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30701  bytes 5635211 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 75011  bytes 13275222 (12.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49019  bytes 7942482 (7.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 30701  bytes 5635211 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30701  bytes 5635211 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 75117  bytes 13297212 (12.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49139  bytes 7961656 (7.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 30811  bytes 5654581 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30811  bytes 5654581 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 75163  bytes 13308392 (12.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49185  bytes 7968530 (7.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 30811  bytes 5654581 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30811  bytes 5654581 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 75277  bytes 13330944 (12.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49307  bytes 7987800 (7.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 30922  bytes 5674023 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30922  bytes 5674023 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 75417  bytes 13354068 (12.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49386  bytes 7999371 (7.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 30933  bytes 5674651 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30933  bytes 5674651 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 75515  bytes 13375708 (12.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49509  bytes 8018813 (7.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 31048  bytes 5694357 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31048  bytes 5694357 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 75590  bytes 13391649 (12.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49581  bytes 8029700 (7.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 31048  bytes 5694357 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31048  bytes 5694357 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 75699  bytes 13413894 (12.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49696  bytes 8048485 (7.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 31166  bytes 5714303 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31166  bytes 5714303 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 75782  bytes 13428806 (12.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49749  bytes 8056037 (7.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 31166  bytes 5714303 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31166  bytes 5714303 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 75882  bytes 13450619 (12.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49859  bytes 8074445 (7.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 31276  bytes 5733673 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31276  bytes 5733673 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 75949  bytes 13463278 (12.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49915  bytes 8082158 (7.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 31276  bytes 5733673 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31276  bytes 5733673 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76050  bytes 13485061 (12.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50029  bytes 8100850 (7.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 31384  bytes 5752899 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31384  bytes 5752899 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76112  bytes 13497626 (12.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50079  bytes 8108020 (7.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 31384  bytes 5752899 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31384  bytes 5752899 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76225  bytes 13520558 (12.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50196  bytes 8127030 (7.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 31498  bytes 5772557 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31498  bytes 5772557 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76296  bytes 13533572 (12.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50255  bytes 8134955 (7.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 31501  bytes 5772729 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31501  bytes 5772729 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76415  bytes 13559415 (12.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50395  bytes 8157772 (7.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 31614  bytes 5792255 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31614  bytes 5792255 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76482  bytes 13572096 (12.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50457  bytes 8165959 (7.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 31618  bytes 5792495 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31618  bytes 5792495 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76596  bytes 13594561 (12.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50570  bytes 8184567 (7.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 31732  bytes 5812117 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31732  bytes 5812117 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76657  bytes 13606670 (12.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50625  bytes 8192077 (7.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 31732  bytes 5812117 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31732  bytes 5812117 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76781  bytes 13632901 (13.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50768  bytes 8215050 (7.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 31840  bytes 5831343 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31840  bytes 5831343 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76844  bytes 13645124 (13.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50821  bytes 8222399 (7.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 31840  bytes 5831343 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31840  bytes 5831343 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76938  bytes 13666353 (13.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50930  bytes 8240717 (7.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 31953  bytes 5850929 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31953  bytes 5850929 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 76999  bytes 13678624 (13.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50982  bytes 8248008 (7.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 31953  bytes 5850929 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31953  bytes 5850929 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 77112  bytes 13701573 (13.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51093  bytes 8266431 (7.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 32060  bytes 5870083 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32060  bytes 5870083 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 77179  bytes 13714799 (13.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51152  bytes 8274384 (7.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 32060  bytes 5870083 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32060  bytes 5870083 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 77306  bytes 13741290 (13.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51296  bytes 8297470 (7.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 32180  bytes 5890069 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32180  bytes 5890069 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 77364  bytes 13753296 (13.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51344  bytes 8304503 (7.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 32180  bytes 5890069 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32180  bytes 5890069 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 77478  bytes 13776034 (13.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51464  bytes 8323746 (7.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 32292  bytes 5909583 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32292  bytes 5909583 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 77539  bytes 13788254 (13.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51514  bytes 8330907 (7.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 32292  bytes 5909583 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32292  bytes 5909583 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 77643  bytes 13810246 (13.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51629  bytes 8349608 (7.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 32406  bytes 5929169 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32406  bytes 5929169 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 77703  bytes 13822441 (13.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51683  bytes 8357189 (7.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 32407  bytes 5929229 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32407  bytes 5929229 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 77823  bytes 13848282 (13.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51822  bytes 8379808 (7.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 32515  bytes 5948455 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32515  bytes 5948455 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 77923  bytes 13862763 (13.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51873  bytes 8387080 (7.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 32515  bytes 5948455 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32515  bytes 5948455 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 78040  bytes 13885297 (13.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51983  bytes 8405382 (8.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 32625  bytes 5967825 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32625  bytes 5967825 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 78108  bytes 13898211 (13.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52046  bytes 8413730 (8.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 32625  bytes 5967825 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32625  bytes 5967825 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 78232  bytes 13924298 (13.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52184  bytes 8436411 (8.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 32746  bytes 5987883 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32746  bytes 5987883 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 78292  bytes 13936718 (13.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52241  bytes 8444037 (8.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 32746  bytes 5987883 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32746  bytes 5987883 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 78399  bytes 13958739 (13.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52350  bytes 8462376 (8.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 32858  bytes 6007397 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32858  bytes 6007397 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 78458  bytes 13970720 (13.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52406  bytes 8469931 (8.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 32858  bytes 6007397 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32858  bytes 6007397 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 78558  bytes 13992372 (13.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52523  bytes 8488959 (8.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 32968  bytes 6026767 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32968  bytes 6026767 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 78654  bytes 14026964 (13.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52579  bytes 8496515 (8.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 32968  bytes 6026767 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32968  bytes 6026767 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 78757  bytes 14048697 (13.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52688  bytes 8514807 (8.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 33086  bytes 6046641 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33086  bytes 6046641 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 78817  bytes 14060860 (13.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52744  bytes 8522571 (8.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 33087  bytes 6046701 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33087  bytes 6046701 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 78951  bytes 14099037 (13.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52880  bytes 8544974 (8.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 33201  bytes 6066359 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33201  bytes 6066359 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79016  bytes 14111475 (13.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52931  bytes 8552216 (8.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 33201  bytes 6066359 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33201  bytes 6066359 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79141  bytes 14149324 (13.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53076  bytes 8575501 (8.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 33319  bytes 6086201 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33319  bytes 6086201 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79215  bytes 14163682 (13.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53135  bytes 8583616 (8.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 33319  bytes 6086201 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33319  bytes 6086201 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79326  bytes 14191789 (13.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53249  bytes 8602320 (8.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 33425  bytes 6105283 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33425  bytes 6105283 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79388  bytes 14204375 (13.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53303  bytes 8609874 (8.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 33425  bytes 6105283 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33425  bytes 6105283 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79482  bytes 14225726 (13.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53421  bytes 8628794 (8.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 33537  bytes 6124797 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33537  bytes 6124797 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79544  bytes 14237843 (13.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53471  bytes 8635904 (8.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 33537  bytes 6124797 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33537  bytes 6124797 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79652  bytes 14260275 (13.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53582  bytes 8654334 (8.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 33645  bytes 6144023 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33645  bytes 6144023 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79714  bytes 14272529 (13.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53639  bytes 8662078 (8.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 33645  bytes 6144023 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33645  bytes 6144023 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79819  bytes 14294393 (13.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53745  bytes 8680152 (8.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 33759  bytes 6163621 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33759  bytes 6163621 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79886  bytes 14307129 (13.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53807  bytes 8688218 (8.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 33761  bytes 6163741 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33761  bytes 6163741 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 79999  bytes 14332616 (13.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53935  bytes 8710133 (8.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 33876  bytes 6183427 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33876  bytes 6183427 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 80075  bytes 14348872 (13.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54018  bytes 8721985 (8.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 33879  bytes 6183583 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33879  bytes 6183583 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 80180  bytes 14370744 (13.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54128  bytes 8740299 (8.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 33993  bytes 6203241 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33993  bytes 6203241 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 80245  bytes 14383301 (13.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54188  bytes 8748367 (8.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 33993  bytes 6203241 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33993  bytes 6203241 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 80347  bytes 14404978 (13.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54300  bytes 8766817 (8.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 34105  bytes 6222755 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34105  bytes 6222755 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 80419  bytes 14418645 (13.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54355  bytes 8774366 (8.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 34105  bytes 6222755 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34105  bytes 6222755 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 80526  bytes 14440897 (13.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54469  bytes 8793111 (8.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 34217  bytes 6242269 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34217  bytes 6242269 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 80587  bytes 14453207 (13.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54521  bytes 8800471 (8.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 34217  bytes 6242269 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34217  bytes 6242269 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 80698  bytes 14475462 (13.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54639  bytes 8819353 (8.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 34327  bytes 6261639 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34327  bytes 6261639 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 80782  bytes 14490267 (13.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54693  bytes 8826993 (8.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 34327  bytes 6261639 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34327  bytes 6261639 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 80924  bytes 14515682 (13.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54811  bytes 8846017 (8.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 34444  bytes 6281453 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34444  bytes 6281453 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81005  bytes 14532182 (13.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54884  bytes 8857112 (8.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 34452  bytes 6281901 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34452  bytes 6281901 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81140  bytes 14559776 (13.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55023  bytes 8879719 (8.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 34562  bytes 6301271 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34562  bytes 6301271 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81215  bytes 14573825 (13.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55076  bytes 8887271 (8.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 34562  bytes 6301271 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34562  bytes 6301271 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81321  bytes 14595920 (13.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55192  bytes 8906115 (8.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 34677  bytes 6321001 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34677  bytes 6321001 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81388  bytes 14608532 (13.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55245  bytes 8913615 (8.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 34677  bytes 6321001 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34677  bytes 6321001 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81477  bytes 14626422 (13.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55330  bytes 8926881 (8.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 34732  bytes 6330954 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34732  bytes 6330954 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81532  bytes 14638566 (13.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55381  bytes 8934065 (8.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 34732  bytes 6330954 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34732  bytes 6330954 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81625  bytes 14659817 (13.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55488  bytes 8952288 (8.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 34847  bytes 6350684 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34847  bytes 6350684 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81699  bytes 14673185 (13.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55554  bytes 8960790 (8.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 34847  bytes 6350684 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34847  bytes 6350684 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81800  bytes 14694875 (14.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55661  bytes 8979021 (8.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 34961  bytes 6370342 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34961  bytes 6370342 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81887  bytes 14711747 (14.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55744  bytes 8990782 (8.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 34967  bytes 6370670 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34967  bytes 6370670 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 81986  bytes 14733371 (14.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55859  bytes 9009666 (8.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 35082  bytes 6390352 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35082  bytes 6390352 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 82048  bytes 14745721 (14.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55917  bytes 9017382 (8.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 35085  bytes 6390532 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35085  bytes 6390532 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 82150  bytes 14767471 (14.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56031  bytes 9036040 (8.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 35195  bytes 6409902 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35195  bytes 6409902 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 82232  bytes 14784070 (14.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56118  bytes 9048138 (8.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 35195  bytes 6409902 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35195  bytes 6409902 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 82341  bytes 14806224 (14.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56225  bytes 9066305 (8.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 35303  bytes 6429128 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35303  bytes 6429128 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 82401  bytes 14818320 (14.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56279  bytes 9073740 (8.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 35303  bytes 6429128 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35303  bytes 6429128 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 82498  bytes 14839604 (14.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56391  bytes 9092221 (8.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 35413  bytes 6448498 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35413  bytes 6448498 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 82587  bytes 14854438 (14.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56444  bytes 9099621 (8.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 35413  bytes 6448498 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35413  bytes 6448498 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 82682  bytes 14876080 (14.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56565  bytes 9119010 (8.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 35528  bytes 6468228 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35528  bytes 6468228 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 82761  bytes 14892462 (14.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56640  bytes 9130132 (8.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 35535  bytes 6468608 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35535  bytes 6468608 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 82862  bytes 14914364 (14.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56762  bytes 9149527 (8.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 35647  bytes 6488122 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35647  bytes 6488122 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 82914  bytes 14926022 (14.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56811  bytes 9156562 (8.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 35647  bytes 6488122 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35647  bytes 6488122 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83012  bytes 14947851 (14.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56923  bytes 9175081 (8.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 35760  bytes 6507708 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35760  bytes 6507708 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83080  bytes 14960378 (14.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56974  bytes 9182276 (8.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 35766  bytes 6508068 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35766  bytes 6508068 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83189  bytes 14982703 (14.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57099  bytes 9201866 (8.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 35880  bytes 6527714 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35880  bytes 6527714 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83266  bytes 14998922 (14.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57176  bytes 9213074 (8.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 35880  bytes 6527714 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35880  bytes 6527714 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83372  bytes 15021132 (14.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57289  bytes 9231724 (8.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 35997  bytes 6547588 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35997  bytes 6547588 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83439  bytes 15033972 (14.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57351  bytes 9239896 (8.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 35997  bytes 6547588 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35997  bytes 6547588 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83534  bytes 15055248 (14.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57458  bytes 9258052 (8.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 36105  bytes 6566814 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36105  bytes 6566814 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83591  bytes 15067734 (14.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57520  bytes 9266332 (8.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 36108  bytes 6566986 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36108  bytes 6566986 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83715  bytes 15093844 (14.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57652  bytes 9288388 (8.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 36223  bytes 6586656 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36223  bytes 6586656 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83770  bytes 15105872 (14.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57713  bytes 9296530 (8.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 36223  bytes 6586656 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36223  bytes 6586656 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83868  bytes 15127347 (14.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57823  bytes 9314884 (8.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 36338  bytes 6606386 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36338  bytes 6606386 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 83936  bytes 15139948 (14.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57879  bytes 9322484 (8.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 36338  bytes 6606386 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36338  bytes 6606386 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84045  bytes 15162406 (14.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57993  bytes 9341122 (8.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 36454  bytes 6626188 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36454  bytes 6626188 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84099  bytes 15174111 (14.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58047  bytes 9348558 (8.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 36460  bytes 6626548 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36460  bytes 6626548 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84205  bytes 15196163 (14.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58161  bytes 9367380 (8.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 36574  bytes 6646194 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36574  bytes 6646194 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84302  bytes 15213748 (14.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58239  bytes 9378677 (8.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 36574  bytes 6646194 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36574  bytes 6646194 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84407  bytes 15235671 (14.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58354  bytes 9397387 (8.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 36683  bytes 6665492 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36683  bytes 6665492 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84468  bytes 15247886 (14.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58407  bytes 9404899 (8.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 36683  bytes 6665492 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36683  bytes 6665492 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84597  bytes 15274721 (14.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58547  bytes 9427745 (8.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 36801  bytes 6685334 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36801  bytes 6685334 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84652  bytes 15287009 (14.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58599  bytes 9435171 (8.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 36801  bytes 6685334 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36801  bytes 6685334 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84751  bytes 15308713 (14.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58719  bytes 9454315 (9.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 36913  bytes 6704848 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36913  bytes 6704848 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84808  bytes 15320510 (14.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58767  bytes 9461293 (9.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 36913  bytes 6704848 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36913  bytes 6704848 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84917  bytes 15342745 (14.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58882  bytes 9480031 (9.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 37020  bytes 6724002 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37020  bytes 6724002 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 84978  bytes 15355194 (14.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58931  bytes 9487095 (9.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 37020  bytes 6724002 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37020  bytes 6724002 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 85101  bytes 15378514 (14.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59048  bytes 9506181 (9.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 37131  bytes 6743444 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37131  bytes 6743444 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 85187  bytes 15392704 (14.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59104  bytes 9513799 (9.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 37136  bytes 6743744 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37136  bytes 6743744 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 85288  bytes 15414496 (14.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59220  bytes 9532716 (9.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 37247  bytes 6763162 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37247  bytes 6763162 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 85362  bytes 15430556 (14.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59297  bytes 9543999 (9.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 37247  bytes 6763162 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37247  bytes 6763162 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 85485  bytes 15456663 (14.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59434  bytes 9566522 (9.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 37359  bytes 6782572 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37359  bytes 6782572 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 85578  bytes 15472216 (14.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59494  bytes 9574578 (9.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 37359  bytes 6782572 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37359  bytes 6782572 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 85690  bytes 15494535 (14.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59603  bytes 9592905 (9.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 37465  bytes 6801654 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37465  bytes 6801654 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 85762  bytes 15507787 (14.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59663  bytes 9600933 (9.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 37465  bytes 6801654 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37465  bytes 6801654 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 85886  bytes 15531697 (14.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59771  bytes 9619175 (9.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 37578  bytes 6821240 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37578  bytes 6821240 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 85973  bytes 15582215 (14.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59825  bytes 9626611 (9.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 37578  bytes 6821240 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37578  bytes 6821240 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 86084  bytes 15610307 (14.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59944  bytes 9645775 (9.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 37694  bytes 6841042 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37694  bytes 6841042 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 86149  bytes 15628715 (14.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59996  bytes 9653091 (9.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 37694  bytes 6841042 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37694  bytes 6841042 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 86252  bytes 15650535 (14.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60113  bytes 9671993 (9.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 37805  bytes 6860484 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37805  bytes 6860484 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 86302  bytes 15661988 (14.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60162  bytes 9679033 (9.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 37810  bytes 6860784 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37810  bytes 6860784 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 86432  bytes 15688633 (14.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60303  bytes 9701906 (9.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 37933  bytes 6880962 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37933  bytes 6880962 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 86501  bytes 15704224 (14.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60375  bytes 9712753 (9.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 37933  bytes 6880962 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37933  bytes 6880962 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 86613  bytes 15726739 (14.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60495  bytes 9732005 (9.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 38037  bytes 6899900 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38037  bytes 6899900 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 86673  bytes 15738780 (15.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60546  bytes 9739205 (9.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 38037  bytes 6899900 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38037  bytes 6899900 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 86779  bytes 15760853 (15.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60667  bytes 9758547 (9.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 38150  bytes 6919486 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38150  bytes 6919486 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 86835  bytes 15773026 (15.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60719  bytes 9765789 (9.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 38150  bytes 6919486 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38150  bytes 6919486 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 86963  bytes 15797550 (15.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60835  bytes 9784773 (9.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 38261  bytes 6938928 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38261  bytes 6938928 (6.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 87043  bytes 15811094 (15.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60895  bytes 9792649 (9.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 38261  bytes 6938928 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38261  bytes 6938928 (6.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 87142  bytes 15832648 (15.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61005  bytes 9811070 (9.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 38377  bytes 6958730 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38377  bytes 6958730 (6.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 87207  bytes 15845350 (15.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61066  bytes 9819176 (9.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 38377  bytes 6958730 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38377  bytes 6958730 (6.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 87311  bytes 15867223 (15.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61175  bytes 9837615 (9.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 38490  bytes 6978272 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38490  bytes 6978272 (6.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 87387  bytes 15883419 (15.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61254  bytes 9849076 (9.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 38497  bytes 6978668 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38497  bytes 6978668 (6.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 87494  bytes 15905609 (15.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61369  bytes 9867947 (9.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 38612  bytes 6998362 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38612  bytes 6998362 (6.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 87553  bytes 15917752 (15.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61425  bytes 9875543 (9.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 38612  bytes 6998362 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38612  bytes 6998362 (6.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 87668  bytes 15943351 (15.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61566  bytes 9898427 (9.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 38721  bytes 7017660 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38721  bytes 7017660 (6.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 87732  bytes 15955685 (15.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61620  bytes 9905861 (9.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 38721  bytes 7017660 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38721  bytes 7017660 (6.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 b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 87832  bytes 15977355 (15.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61734  bytes 9924570 (9.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 38838  bytes 7037534 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38838  bytes 7037534 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 87901  bytes 15990524 (15.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61789  bytes 9932183 (9.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 38838  bytes 7037534 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38838  bytes 7037534 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88005  bytes 16012333 (15.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61909  bytes 9951238 (9.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 38948  bytes 7056904 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38948  bytes 7056904 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88057  bytes 16023822 (15.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61956  bytes 9958184 (9.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 38948  bytes 7056904 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38948  bytes 7056904 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88155  bytes 16045384 (15.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62069  bytes 9976821 (9.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 39062  bytes 7076562 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39062  bytes 7076562 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88232  bytes 16061554 (15.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62140  bytes 9987739 (9.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 39068  bytes 7076890 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39068  bytes 7076890 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88335  bytes 16083490 (15.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62264  bytes 10007290 (9.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 39178  bytes 7096260 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39178  bytes 7096260 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88393  bytes 16095343 (15.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62310  bytes 10014151 (9.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 39178  bytes 7096260 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39178  bytes 7096260 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88503  bytes 16117607 (15.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62423  bytes 10032757 (9.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 39294  bytes 7115990 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39294  bytes 7115990 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88553  bytes 16128973 (15.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62472  bytes 10039777 (9.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 39295  bytes 7116050 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39295  bytes 7116050 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88676  bytes 16155037 (15.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62613  bytes 10062572 (9.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 39412  bytes 7135924 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39412  bytes 7135924 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88750  bytes 16168162 (15.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62673  bytes 10070635 (9.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 39412  bytes 7135924 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39412  bytes 7135924 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88848  bytes 16189558 (15.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62783  bytes 10089001 (9.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 39519  bytes 7155078 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39519  bytes 7155078 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 88913  bytes 16202833 (15.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62844  bytes 10097147 (9.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 39519  bytes 7155078 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39519  bytes 7155078 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89016  bytes 16224645 (15.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62955  bytes 10115511 (9.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 39628  bytes 7174376 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39628  bytes 7174376 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89088  bytes 16240615 (15.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63034  bytes 10126988 (9.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 39634  bytes 7174704 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39634  bytes 7174704 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89187  bytes 16262116 (15.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63141  bytes 10145159 (9.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 39748  bytes 7194362 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39748  bytes 7194362 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89251  bytes 16274626 (15.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63201  bytes 10153187 (9.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 39748  bytes 7194362 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39748  bytes 7194362 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89359  bytes 16296826 (15.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63312  bytes 10171635 (9.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 39861  bytes 7213948 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39861  bytes 7213948 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89416  bytes 16309005 (15.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63373  bytes 10179749 (9.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 39861  bytes 7213948 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39861  bytes 7213948 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89521  bytes 16330913 (15.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63485  bytes 10198183 (9.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 39975  bytes 7233534 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39975  bytes 7233534 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89599  bytes 16344493 (15.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63545  bytes 10206213 (9.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 39976  bytes 7233594 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39976  bytes 7233594 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89729  bytes 16371093 (15.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63685  bytes 10228920 (9.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 40089  bytes 7253180 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40089  bytes 7253180 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89789  bytes 16383341 (15.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63738  bytes 10236472 (9.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 40089  bytes 7253180 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40089  bytes 7253180 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89893  bytes 16405375 (15.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63856  bytes 10255376 (9.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 40200  bytes 7272622 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40200  bytes 7272622 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 89975  bytes 16422526 (15.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63933  bytes 10266739 (9.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 40207  bytes 7273002 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40207  bytes 7273002 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90072  bytes 16443974 (15.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64052  bytes 10285844 (9.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 40317  bytes 7292372 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40317  bytes 7292372 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90127  bytes 16455751 (15.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64099  bytes 10292792 (9.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 40317  bytes 7292372 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40317  bytes 7292372 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90225  bytes 16477360 (15.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64218  bytes 10311962 (9.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 40431  bytes 7312030 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40431  bytes 7312030 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90291  bytes 16490128 (15.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64272  bytes 10319616 (9.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 40431  bytes 7312030 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40431  bytes 7312030 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90393  bytes 16512020 (15.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64389  bytes 10338533 (9.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 40546  bytes 7331760 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40546  bytes 7331760 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90462  bytes 16524948 (15.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64450  bytes 10346631 (9.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 40546  bytes 7331760 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40546  bytes 7331760 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90564  bytes 16546662 (15.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64559  bytes 10364967 (9.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 40667  bytes 7351862 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40667  bytes 7351862 (7.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90627  bytes 16558959 (15.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64615  bytes 10372594 (9.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 40669  bytes 7351982 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40669  bytes 7351982 (7.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90747  bytes 16584873 (15.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64748  bytes 10394965 (9.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 40777  bytes 7371208 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40777  bytes 7371208 (7.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90803  bytes 16596746 (15.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64807  bytes 10402815 (9.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 40780  bytes 7371380 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40780  bytes 7371380 (7.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90919  bytes 16622337 (15.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64940  bytes 10424986 (9.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 40897  bytes 7391194 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40897  bytes 7391194 (7.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 90983  bytes 16635175 (15.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65001  bytes 10433099 (9.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 40897  bytes 7391194 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40897  bytes 7391194 (7.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 91092  bytes 16657217 (15.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65112  bytes 10451538 (9.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 41010  bytes 7410780 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41010  bytes 7410780 (7.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 91154  bytes 16669496 (15.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65171  bytes 10459480 (9.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 41010  bytes 7410780 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41010  bytes 7410780 (7.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 91249  bytes 16690712 (15.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65280  bytes 10477752 (9.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 41123  bytes 7430366 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41123  bytes 7430366 (7.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 91320  bytes 16703649 (15.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65336  bytes 10485377 (9.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 41123  bytes 7430366 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41123  bytes 7430366 (7.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 91425  bytes 16725715 (15.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65453  bytes 10504393 (10.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 41235  bytes 7449880 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41235  bytes 7449880 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 91509  bytes 16740261 (15.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65506  bytes 10511905 (10.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 41235  bytes 7449880 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41235  bytes 7449880 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 91657  bytes 16766679 (15.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65628  bytes 10531305 (10.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 41351  bytes 7469622 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41351  bytes 7469622 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 91728  bytes 16779599 (16.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65680  bytes 10538731 (10.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 41353  bytes 7469742 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41353  bytes 7469742 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 91866  bytes 16809765 (16.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65845  bytes 10565493 (10.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 41465  bytes 7489144 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41465  bytes 7489144 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 91923  bytes 16821631 (16.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65894  bytes 10572529 (10.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 41465  bytes 7489144 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41465  bytes 7489144 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92030  bytes 16843930 (16.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66017  bytes 10592003 (10.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 41578  bytes 7508730 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41578  bytes 7508730 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92084  bytes 16855943 (16.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66067  bytes 10599113 (10.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 41578  bytes 7508730 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41578  bytes 7508730 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92176  bytes 16877061 (16.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66183  bytes 10617929 (10.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 41690  bytes 7528244 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41690  bytes 7528244 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92257  bytes 16890657 (16.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66242  bytes 10625895 (10.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 41690  bytes 7528244 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41690  bytes 7528244 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92356  bytes 16912217 (16.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66349  bytes 10644027 (10.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 41801  bytes 7547686 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41801  bytes 7547686 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92415  bytes 16924339 (16.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66403  bytes 10651523 (10.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 41801  bytes 7547686 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41801  bytes 7547686 (7.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92504  bytes 16945326 (16.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66516  bytes 10670067 (10.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 41913  bytes 7567192 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41913  bytes 7567192 (7.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92604  bytes 16980256 (16.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66577  bytes 10678165 (10.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 41913  bytes 7567192 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41913  bytes 7567192 (7.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92720  bytes 17005816 (16.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66716  bytes 10700819 (10.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 42032  bytes 7587070 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42032  bytes 7587070 (7.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92784  bytes 17018287 (16.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66775  bytes 10708801 (10.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 42036  bytes 7587310 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42036  bytes 7587310 (7.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92890  bytes 17040208 (16.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66886  bytes 10727184 (10.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 42146  bytes 7606680 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42146  bytes 7606680 (7.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 92965  bytes 17056360 (16.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66967  bytes 10738822 (10.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 42146  bytes 7606680 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42146  bytes 7606680 (7.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 93065  bytes 17077915 (16.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67079  bytes 10757358 (10.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 42257  bytes 7626122 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42257  bytes 7626122 (7.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 93141  bytes 17102983 (16.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67134  bytes 10764921 (10.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 42257  bytes 7626122 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42257  bytes 7626122 (7.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 93245  bytes 17130587 (16.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67252  bytes 10783862 (10.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 42372  bytes 7645852 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42372  bytes 7645852 (7.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 93306  bytes 17142811 (16.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67304  bytes 10791339 (10.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 42372  bytes 7645852 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42372  bytes 7645852 (7.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 93415  bytes 17165511 (16.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67421  bytes 10810160 (10.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 42479  bytes 7665006 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42479  bytes 7665006 (7.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 93472  bytes 17177326 (16.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67467  bytes 10817021 (10.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 42479  bytes 7665006 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42479  bytes 7665006 (7.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 93593  bytes 17203466 (16.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67608  bytes 10839953 (10.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 42597  bytes 7684848 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42597  bytes 7684848 (7.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 93648  bytes 17215328 (16.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67661  bytes 10847504 (10.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 42597  bytes 7684848 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42597  bytes 7684848 (7.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 93760  bytes 17237698 (16.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67778  bytes 10866354 (10.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 42710  bytes 7704434 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42710  bytes 7704434 (7.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 93819  bytes 17249655 (16.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67828  bytes 10873504 (10.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 42716  bytes 7704794 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42716  bytes 7704794 (7.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 93923  bytes 17271528 (16.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67943  bytes 10892233 (10.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 42831  bytes 7724512 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42831  bytes 7724512 (7.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 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'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94013  bytes 17288797 (16.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68028  bytes 10904204 (10.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 42831  bytes 7724512 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42831  bytes 7724512 (7.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94113  bytes 17310404 (16.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68136  bytes 10922438 (10.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 42944  bytes 7744098 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42944  bytes 7744098 (7.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94178  bytes 17323130 (16.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68191  bytes 10929935 (10.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 42944  bytes 7744098 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42944  bytes 7744098 (7.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94282  bytes 17345065 (16.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68301  bytes 10948429 (10.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 43058  bytes 7763756 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43058  bytes 7763756 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94338  bytes 17356947 (16.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68362  bytes 10956447 (10.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 43058  bytes 7763756 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43058  bytes 7763756 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94431  bytes 17378221 (16.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68478  bytes 10975497 (10.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 43173  bytes 7783442 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43173  bytes 7783442 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94516  bytes 17394850 (16.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68558  bytes 10987003 (10.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 43176  bytes 7783598 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43176  bytes 7783598 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94622  bytes 17416811 (16.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68667  bytes 11005310 (10.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 43287  bytes 7803040 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43287  bytes 7803040 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94685  bytes 17434847 (16.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68723  bytes 11012866 (10.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 43287  bytes 7803040 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43287  bytes 7803040 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94778  bytes 17456059 (16.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68836  bytes 11031442 (10.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 43399  bytes 7822554 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43399  bytes 7822554 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94853  bytes 17469414 (16.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68901  bytes 11039878 (10.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 43405  bytes 7822914 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43405  bytes 7822914 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 94951  bytes 17496517 (16.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69012  bytes 11058294 (10.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 43517  bytes 7842416 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43517  bytes 7842416 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 95034  bytes 17512975 (16.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69086  bytes 11069433 (10.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 43517  bytes 7842416 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43517  bytes 7842416 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 95134  bytes 17534567 (16.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69194  bytes 11087713 (10.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 43625  bytes 7861642 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43625  bytes 7861642 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
b'Error on request'
Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid 
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 95198  bytes 17547552 (16.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69244  bytes 11094919 (10.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 43625  bytes 7861642 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43625  bytes 7861642 (7.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/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
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827eb707150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88  prefixlen 64  scopeid 0x0<global>\n        inet6 fe80::57d6:58f7:ce45:3b8f  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:70:71:50  txqueuelen 1000  (Ethernet)\n        RX packets 95297  bytes 17569137 (16.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69363  bytes 11113949 (10.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 43734  bytes 7880940 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43734  bytes 7880940 (7.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:25:24:05  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/01/27/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-20-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/27012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
