 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.166  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::763e:cc6b:f1ef:f2f4  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 91  bytes 22677 (22.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 20859 (20.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 69  bytes 6412 (6.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69  bytes 6412 (6.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:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/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'enxb827ebb90eee: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.166  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::763e:cc6b:f1ef:f2f4  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 519  bytes 76574 (74.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1561  bytes 1999140 (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 69  bytes 6412 (6.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69  bytes 6412 (6.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:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.166  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::763e:cc6b:f1ef:f2f4  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 1062  bytes 137890 (134.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3390  bytes 4571659 (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 177  bytes 25758 (25.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 177  bytes 25758 (25.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:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/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'enxb827ebb90eee: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.166  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::763e:cc6b:f1ef:f2f4  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 754  bytes 53322 (52.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 706  bytes 1009434 (985.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 177  bytes 25758 (25.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 177  bytes 25758 (25.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:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.166  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::763e:cc6b:f1ef:f2f4  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 1053  bytes 94925 (92.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 836  bytes 1030436 (1006.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 283  bytes 45064 (44.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 45064 (44.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:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/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'enxb827ebb90eee: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.166  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::763e:cc6b:f1ef:f2f4  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 1264  bytes 126197 (123.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1321  bytes 1674293 (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 283  bytes 45064 (44.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 45064 (44.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:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.166  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::763e:cc6b:f1ef:f2f4  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 1768  bytes 196072 (191.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2724  bytes 3585367 (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 394  bytes 64626 (63.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 394  bytes 64626 (63.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:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/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'enxb827ebb90eee: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.166  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::763e:cc6b:f1ef:f2f4  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 2606  bytes 293656 (286.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5417  bytes 7506954 (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 394  bytes 64626 (63.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 394  bytes 64626 (63.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:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.166  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::763e:cc6b:f1ef:f2f4  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 4060  bytes 413977 (404.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7987  bytes 11159083 (10.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 499  bytes 83756 (81.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 499  bytes 83756 (81.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:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.166  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::763e:cc6b:f1ef:f2f4  prefixlen 64  scopeid 0x20<link>\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 5584  bytes 537789 (525.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13868  bytes 19864650 (18.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 499  bytes 83756 (81.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 499  bytes 83756 (81.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:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x758231f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x758231f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x758231f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/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-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x757ff1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x757ff1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x757ff1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/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'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x757db250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x757db250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x757db250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x758a61f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x758a61f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x758a61f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/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'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7587a170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7587a170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7587a170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x758b01f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x758b01f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x758b01f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x75892210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75892210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75892210>: 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'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7587b1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7587b1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7587b1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7588d2b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7588d2b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7588d2b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 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/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x757dd1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x757dd1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x757dd1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x75834230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75834230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75834230>: 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'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x758aa330>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x758aa330>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x758aa330>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7585d170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7585d170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7585d170>: 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'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x757e31f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x757e31f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x757e31f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/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'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x758b81b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x758b81b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x758b81b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x75891230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75891230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75891230>: 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'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/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'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/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'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7580c230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7580c230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7580c230>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7586f190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7586f190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7586f190>: 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'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x757fc270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x757fc270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x757fc270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/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'))
 nb taken pictures : 0
outs: b'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/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'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x75a70950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75a70950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75a70950>: 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'enxb827ebb90eee: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:b9:0e:ee  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9  bytes 524 (524.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9  bytes 524 (524.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether b8:27:eb:ec:5b:bb  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/03/25/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
0
v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-111-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/25032025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('v1.10.0)',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('v1.10.0',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/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'))
